Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NumFields (0.07 sec)

  1. 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))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  2. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg go/ast, method (*ExprStmt) Pos() token.Pos
    pkg go/ast, method (*Field) End() token.Pos
    pkg go/ast, method (*Field) Pos() token.Pos
    pkg go/ast, method (*FieldList) End() token.Pos
    pkg go/ast, method (*FieldList) NumFields() int
    pkg go/ast, method (*FieldList) Pos() token.Pos
    pkg go/ast, method (*File) End() token.Pos
    pkg go/ast, method (*File) Pos() token.Pos
    pkg go/ast, method (*ForStmt) End() token.Pos
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top