reflect.Type.NumMethod (method)
5 uses
reflect (current package)
type.go#L78: NumMethod() int
value.go#L3766: if typ.NumMethod() == 0 {
encoding/asn1
asn1.go#L691: if ifaceType := fieldType; ifaceType.Kind() == reflect.Interface && ifaceType.NumMethod() == 0 {
marshal.go#L584: if v.Kind() == reflect.Interface && v.Type().NumMethod() == 0 {
encoding/json
decode.go#L478: if v.Type().NumMethod() > 0 && v.CanInterface() {
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |