// determineRootDirs returns a mapping from absolute directories that could // contain code to their corresponding import path prefixes. func (state *golistState) determineRootDirs() (map[string]string, error) { … } func (state *golistState) determineRootDirsModules() (map[string]string, error) { … } func (state *golistState) determineRootDirsGOPATH() (map[string]string, error) { … }