# Packages
No description provided by the author
# Functions
ImportPathForDir takes a path and returns a golang import path for the package From: https://github.com/99designs/gqlgen/blob/d5c9f896419142f6378639b6eec93584fbf829ed/internal/code/imports.go#L153.
NameForDir manually looks for package stanzas in files located in the given directory.
NewPackages creates a new packages cache It will load all packages in the current module, and any packages that are passed to Load or LoadAll.
NormalizeVendor takes a qualified package path and turns it into normal one.
PkgAndType take a string in the form github.com/package/blah.Type and split it into package and type From: https://github.com/99designs/gqlgen/blob/d5c9f896419142f6378639b6eec93584fbf829ed/internal/code/util.go#L11C1-L20C1.
QualifyPackagePath takes an import and fully qualifies it with a vendor dir, if one is required.
SanitizePackageName replaces invalid characters in a package name with underscores.
WithBuildTags adds build tags to the packages.Load call.