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 Functions (total 2)
IsType reports whether the reflect.Type is of the specified function type.
NameOf returns the name of the function value.
Package-Level Constants (total 8)
const EqualAssignable funcType = 5 // func(T, I) bool; encapsulates func(T, T) bool const KeyValuePredicate funcType = 4 // func(T, R) bool const Transformer funcType = 6 // 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.8.2. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |