type reflect.StructField
38 uses
reflect (current package)
type.go#L163: Field(i int) StructField
type.go#L169: FieldByIndex(index []int) StructField
type.go#L173: FieldByName(name string) (StructField, bool)
type.go#L187: FieldByNameFunc(match func(string) bool) (StructField, bool)
type.go#L968: func (t *rtype) Field(i int) StructField {
type.go#L976: func (t *rtype) FieldByIndex(index []int) StructField {
type.go#L984: func (t *rtype) FieldByName(name string) (StructField, bool) {
type.go#L992: func (t *rtype) FieldByNameFunc(match func(string) bool) (StructField, bool) {
type.go#L1140: type StructField struct {
type.go#L1157: func (f StructField) IsExported() bool {
type.go#L1242: func (t *structType) Field(i int) (f StructField) {
type.go#L1273: func (t *structType) FieldByIndex(index []int) (f StructField) {
type.go#L1296: func (t *structType) FieldByNameFunc(match func(string) bool) (result StructField, ok bool) {
type.go#L1359: return StructField{}, false
type.go#L1402: func (t *structType) FieldByName(name string) (f StructField, present bool) {
type.go#L2431: func StructOf(fields []StructField) Type {
type.go#L2668: tt := New(StructOf([]StructField{
type.go#L2832: func runtimeStructField(field StructField) (structField, string) {
visiblefields.go#L16: func VisibleFields(t Type) []StructField {
visiblefields.go#L26: fields: make([]StructField, 0, t.NumField()),
visiblefields.go#L52: fields []StructField
encoding/json
decode.go#L146: Field reflect.StructField
encoding/xml
typeinfo.go#L113: func structFieldInfo(typ reflect.Type, f *reflect.StructField) (*fieldInfo, error) {
github.com/go-pg/pg/v10/orm
field.go#L22: Field reflect.StructField
table.go#L296: func (t *Table) newField(f reflect.StructField, index []int) *Field {
github.com/golang/protobuf/proto
properties.go#L196: func (p *Properties) Init(typ reflect.Type, name, tag string, f *reflect.StructField) {
github.com/google/go-cmp/cmp
export_unsafe.go#L23: func retrieveUnexportedField(v reflect.Value, f reflect.StructField, addr bool) reflect.Value {
path.go#L184: field reflect.StructField // Field information
google.golang.org/protobuf/internal/impl
message.go#L136: fieldsByNumber map[protoreflect.FieldNumber]reflect.StructField
message.go#L137: oneofsByName map[protoreflect.Name]reflect.StructField
message.go#L149: fieldsByNumber: map[protoreflect.FieldNumber]reflect.StructField{},
message.go#L150: oneofsByName: map[protoreflect.Name]reflect.StructField{},
message_reflect_field.go#L64: func fieldInfoForOneof(fd protoreflect.FieldDescriptor, fs reflect.StructField, x exporter, ot reflect.Type) fieldInfo {
message_reflect_field.go#L147: func fieldInfoForMap(fd protoreflect.FieldDescriptor, fs reflect.StructField, x exporter) fieldInfo {
message_reflect_field.go#L200: func fieldInfoForList(fd protoreflect.FieldDescriptor, fs reflect.StructField, x exporter) fieldInfo {
message_reflect_field.go#L255: func fieldInfoForScalar(fd protoreflect.FieldDescriptor, fs reflect.StructField, x exporter) fieldInfo {
message_reflect_field.go#L414: func fieldInfoForMessage(fd protoreflect.FieldDescriptor, fs reflect.StructField, x exporter) fieldInfo {
pointer_unsafe.go#L26: func offsetOf(f reflect.StructField, x exporter) offset {