Documentation ¶
Index ¶
- Variables
- func ContainsContext(t *types.Tuple) bool
- func ContainsError(results *types.Tuple) bool
- func DetectBasePath(pkg *packages.Package) (string, error)
- func DetectPkgPath(pkg *packages.Package) (string, error)
- func EvalBinaryExpr(expr *ast.BinaryExpr) (n, iotas int)
- func EvalInt(expr ast.Expr) (n, iotas int)
- func GetBitSize(kind types.BasicKind) string
- func Inspect(pkgs []*packages.Package, f func(p *packages.Package, n ast.Node) bool)
- func IsContext(t types.Type) bool
- func IsError(t types.Type) bool
- func IsNamed(t *types.Tuple) bool
- func IsNil(t types.Type) bool
- func IsPanic(t types.Type) bool
- func NameType(vars []*types.Var, qf types.Qualifier, filterFn FilterFn) (results []string)
- func NameTypeParams(vars []*types.Var, qf types.Qualifier, filterFn FilterFn) (results []string)
- func Params(vars []*types.Var, fn func(p *types.Var) []string, ...) (results []string)
- func ZeroValue(t types.Type, qf types.Qualifier) string
- type FilterFn
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ContainsContext ¶
func ContainsError ¶
func EvalBinaryExpr ¶
func EvalBinaryExpr(expr *ast.BinaryExpr) (n, iotas int)
func GetBitSize ¶
func NameTypeParams ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.