MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / Field

Method Field

types/struct.go:45–45  ·  view source on GitHub ↗

Field returns the i'th field for 0 <= i < NumFields().

(i int)

Source from the content-addressed store, hash-verified

43
44// Field returns the i'th field for 0 <= i < NumFields().
45func (s *Struct) Field(i int) *Var { return s.fields[i] }
46
47// Tag returns the i'th field tag for 0 <= i < NumFields().
48func (s *Struct) Tag(i int) string {

Callers 15

dumpMethod · 0.80
hashForMethod · 0.80
TestAlignofNaclSliceFunction · 0.80
needMethodsMethod · 0.80
assignMethod · 0.80
StringMethod · 0.80
StringMethod · 0.80
compLitMethod · 0.80
compLitMethod · 0.80
emitFieldSelectionMethod · 0.80
eqMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestAlignofNaclSliceFunction · 0.64