Versions in this module Expand all Collapse all v1 v1.1.0 Sep 14, 2018 v1.0.0 Jan 3, 2017 Changes in this version + var DefaultTagName = "structs" + func FillMap(s interface{}, out map[string]interface{}) + func HasZero(s interface{}) bool + func IsStruct(s interface{}) bool + func IsZero(s interface{}) bool + func Map(s interface{}) map[string]interface + func Name(s interface{}) string + func Names(s interface{}) []string + func Values(s interface{}) []interface + type Field struct + func Fields(s interface{}) []*Field + func (f *Field) Field(name string) *Field + func (f *Field) FieldOk(name string) (*Field, bool) + func (f *Field) Fields() []*Field + func (f *Field) IsEmbedded() bool + func (f *Field) IsExported() bool + func (f *Field) IsZero() bool + func (f *Field) Kind() reflect.Kind + func (f *Field) Name() string + func (f *Field) Set(val interface{}) error + func (f *Field) Tag(key string) string + func (f *Field) Value() interface{} + func (f *Field) Zero() error + type Struct struct + TagName string + func New(s interface{}) *Struct + func (s *Struct) Field(name string) *Field + func (s *Struct) FieldOk(name string) (*Field, bool) + func (s *Struct) Fields() []*Field + func (s *Struct) FillMap(out map[string]interface{}) + func (s *Struct) HasZero() bool + func (s *Struct) IsZero() bool + func (s *Struct) Map() map[string]interface{} + func (s *Struct) Name() string + func (s *Struct) Names() []string + func (s *Struct) Values() []interface{}