reflect.Type.NumField (method)
21 uses
reflect (current package)
type.go#L213: NumField() int
type.go#L2309: num := t.NumField()
type.go#L2336: if i+1 < t.NumField() {
visiblefields.go#L26: fields: make([]StructField, 0, t.NumField()),
visiblefields.go#L66: for i := 0; i < t.NumField(); i++ {
encoding/asn1
asn1.go#L919: for i := 0; i < structType.NumField(); i++ {
asn1.go#L926: if structType.NumField() > 0 &&
asn1.go#L933: for i := 0; i < structType.NumField(); i++ {
marshal.go#L487: for i := 0; i < t.NumField(); i++ {
marshal.go#L495: n := t.NumField()
encoding/binary
binary.go#L724: for i, n := 0, t.NumField(); i < n; i++ {
encoding/json
encode.go#L1097: for i := 0; i < f.typ.NumField(); i++ {
github.com/oapi-codegen/runtime
bindform.go#L42: for i := 0; i < tValue.NumField(); i++ {
bindform.go#L98: for i := 0; i < tValue.NumField(); i++ {
bindparam.go#L498: for i := 0; i < t.NumField(); i++ {
deepobject.go#L185: n := t.NumField()
styleparam.go#L255: for i := 0; i < t.NumField(); i++ {
net/http
h2_error.go#L21: numField := srcType.NumField()
h2_error.go#L22: if dstType.NumField() != numField {
transport.go#L382: if rv := reflect.ValueOf(altProto["https"]); rv.IsValid() && rv.Type().Kind() == reflect.Struct && rv.Type().NumField() == 1 {
net/http/httptrace
trace.go#L182: for i := 0; i < structType.NumField(); i++ {
![]() |
The pages are generated with Golds v0.7.6. (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. |