code: func importPaths(args []string) []string {
  	args = importPathsNoDotExpansion(args)
  	var out []string
  	for _, a := range args {
  		if strings.Contains(a, "...") {
  			if build.IsLocalImport(a) {
  				out = append(out, allPackagesInFS(a)...)
  			} else {
  				out = append(out, allPackages(a)...)
  			}
  			continue
  		}
  		out = append(out, a)
  	}
  	return out
  }
docs: // importPaths returns the import paths to use for the given command line.