package function
Import Path
github.com/google/go-cmp/cmp/internal/function (on go.dev)
Dependency Relation
imports 4 packages, and imported by one package
Involved Source Files
Package function provides functionality for identifying function types.
Package-Level Type Names (only one, which is unexported)
Package-Level Functions (total 2, both are exported)
IsType reports whether the reflect.Type is of the specified function type.
NameOf returns the name of the function value.
Package-Level Variables (total 2, neither is exported)
Package-Level Constants (total 12, in which 7 are exported)
const EqualAssignable funcType = 4 // func(T, I) bool; encapsulates func(T, T) bool const KeyValuePredicate funcType = 3 // func(T, R) bool const Transformer funcType = 5 // func(T) R const ValueFilter funcType = 2 // func(T, T) bool const ValuePredicate funcType = 1 // func(T) bool
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)