- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for NumFields (0.21 seconds)
-
api/go1.5.txt
pkg go/types, method (*StdSizes) Offsetsof([]*Var) []int64 pkg go/types, method (*StdSizes) Sizeof(Type) int64 pkg go/types, method (*Struct) Field(int) *Var pkg go/types, method (*Struct) NumFields() int pkg go/types, method (*Struct) String() string pkg go/types, method (*Struct) Tag(int) string pkg go/types, method (*Struct) Underlying() Type pkg go/types, method (*Tuple) At(int) *Var
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Click Count (0) -
src/cmd/api/main_test.go
} func (w *Walker) emitStructType(name string, typ *types.Struct) { typeStruct := fmt.Sprintf("type %s struct", name) w.emitf("%s", typeStruct) defer w.pushScope(typeStruct)() for i := 0; i < typ.NumFields(); i++ { f := typ.Field(i) if !f.Exported() { continue } typ := f.Type() if f.Anonymous() { if w.isDeprecated(f) { w.emitf("embedded %s //deprecated", w.typeString(typ))
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 31.4K bytes - Click Count (0)