code: func ResolvePath(path string, base string) string {
  	// Don't resolve empty paths
  	if len(path) > 0 {
  		// Don't resolve absolute paths
  		if !filepath.IsAbs(path) {
  			return filepath.Join(base, path)
  		}
  	}
  
  	return path
  }
docs: // ResolvePath returns the path as an absolute paths, relative to the given base directory