package function
Import Path
github.com/google/go-cmp/cmp/internal/function (on go.dev)
Dependency Relation
imports 4 packages, and imported by 2 packages
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.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |