package
0.1.0
Repository: https://github.com/randallmlough/gogen.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
CompatibleTypes isnt a strict comparison, it allows for pointer differences.
No description provided by the author
No description provided by the author
ImportPathForDir takes a path and returns a golang import path for the package.
No description provided by the author
NameForDir manually looks for package stanzas in files located in the given directory.
NormalizeVendor takes a qualified package path and turns it into normal one.
No description provided by the author
take a string in the form github.com/package/blah.Type and split it into package and type.
QualifyPackagePath takes an import and fully qualifies it with a vendor dir, if one is required.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

CurrentImports keeps track of all the import declarations that are needed during the execution of a plugin.

# Structs

No description provided by the author
No description provided by the author
packages is a wrapper around x/tools/go/packages that maintains a (hopefully prewarmed) cache of packages that can be invalidated as writes are made and packages are known to change.

# Type aliases

No description provided by the author