Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StructTags ¶
type StructTags struct {
// contains filtered or unexported fields
}
func NewFindStructTags ¶
func NewFindStructTags(str interface{}, tags ...string) *StructTags
str struct tags tag name NewFindStructTags(&struct, "tagName1","tagName2")
func (*StructTags) GetTags ¶
func (m *StructTags) GetTags(fieldName string) *Tags
GetFieldTag(结构里定义字段名区分大小写)
Click to show internal directories.
Click to hide internal directories.