code: func ResolveSymlinks(path string) string {
  	if len(path) == 0 {
  		return path
  	}
  
  	if resolved, err := filepath.EvalSymlinks(path); err == nil {
  		return resolved
  	}
  	return path
  }
docs: // ResolveSymlinks ensures that if the path supplied is a symlink, it is
  // resolved to the actual concrete path