type StructTag … func (t StructTag) String() string { … } type StructTags … func (tags StructTags) String() string { … } func (tags StructTags) Has(name string) bool { … } // ParseStructTags returns the full set of fields in a struct tag in the order they appear in // the struct tag. func ParseStructTags(tag string) (StructTags, error) { … }