Documentation ¶ Index ¶ type Config type Field func (f *Field) Paths() []string func (f *Field) Row() []string func (f *Field) String() string type Fields func (fs Fields) Len() int func (fs Fields) Less(i, j int) bool func (fs *Fields) Parse(c Config) *Fields func (fs *Fields) Sort() *Fields func (fs Fields) Swap(i, j int) func (fs *Fields) Table() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ added in v1.0.0 type Config interface { Path() string } type Field ¶ type Field struct { Path string `json:"path"` Name string `json:"name"` Desc string `json:"desc"` Type string `json:"type"` Value reflect.Value `json:"value"` Default interface{} `json:"default"` } func (*Field) Paths ¶ func (f *Field) Paths() []string func (*Field) Row ¶ func (f *Field) Row() []string func (*Field) String ¶ func (f *Field) String() string type Fields ¶ type Fields []Field func (Fields) Len ¶ func (fs Fields) Len() int func (Fields) Less ¶ func (fs Fields) Less(i, j int) bool func (*Fields) Parse ¶ added in v1.0.0 func (fs *Fields) Parse(c Config) *Fields func (*Fields) Sort ¶ func (fs *Fields) Sort() *Fields func (Fields) Swap ¶ func (fs Fields) Swap(i, j int) func (*Fields) Table ¶ added in v1.0.0 func (fs *Fields) Table() string Source Files ¶ View all Source files field.go fields.go Click to show internal directories. Click to hide internal directories.