package
0.3.5-alpha
Repository: https://github.com/awslabs/ar-go-tools.git
Documentation: pkg.go.dev

# Functions

FieldAddrFieldInfo finds the name of a field access in ssa.FieldAddr if it cannot find a proper field name, returns "?".
FieldFieldInfo finds the name of a field access in ssa.Field if it cannot find a proper field name, returns "?".
FindEltTypePackage finds the package declaring the elements of t or returns an error Returns a package name and the name of the type declared in that package.
FindSafeCalleePkg finds the packages of the callee in the ssa.CallCommon without panicking.
FindValuePackage finds the package of n.
GetFieldInfoFromType returns the name of field i if t is a struct or pointer to a struct.
IsEntrypointNode returns true if n matches a code identifier according to the predicate f gocyclo:ignore.
IsExcluded scans the exclude slices to find out whether f is excluded.
MakeAbsolute takes a slice of relative file paths and converts them to absolute paths.
ReceiverStr returns the string receiver name of t.
VisitPackages calls f recursively on the root package provided, and then all the imports provided f returns true for that package.