code: func ResolveImportPath(importPath string) (string, error) {
  	if packaged {
  		return filepath.Join(SourcePath, importPath), nil
  	}
  
  	modPkg, err := build.Import(importPath, RevelPath, build.FindOnly)
  	if err != nil {
  		return "", err
  	}
  	return modPkg.Dir, nil
  }
docs: // ResolveImportPath returns the filesystem path for the given import path.
  // Returns an error if the import path could not be found.