func github.com/google/go-cmp/cmp/internal/function.NameOf
8 uses
github.com/google/go-cmp/cmp/internal/function (current package)
func.go#L71: func NameOf(v reflect.Value) string {
github.com/google/go-cmp/cmp
compare.go#L340: panic(fmt.Sprintf("non-deterministic function detected: %s", function.NameOf(f)))
compare.go#L361: panic(fmt.Sprintf("non-deterministic or non-symmetric function detected: %s", function.NameOf(f)))
options.go#L140: return fmt.Sprintf("FilterPath(%s, %v)", function.NameOf(reflect.ValueOf(f.fnc)), f.opt)
options.go#L190: return fmt.Sprintf("FilterValues(%s, %v)", function.NameOf(f.fnc), f.opt)
options.go#L281: name = function.NameOf(v)
options.go#L327: return fmt.Sprintf("Transformer(%s, %s)", tr.name, function.NameOf(tr.fnc))
options.go#L375: return fmt.Sprintf("Comparer(%s)", function.NameOf(cm.fnc))
 |
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. |