Documentation
¶
Overview ¶
Package structtag defines struct tag modification tool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnpairedKey = errors.New("unpaired key") ErrNotFound = errors.New("not found") )
Functions ¶
func AddTagOption ¶
AddTagOption returns a new StructTag which has option added for tag. It assumes tag options are formatted as `tag:"name,opt,opt"` style. The name is allowed to be quoted by single quotation marks.
Types ¶
Click to show internal directories.
Click to hide internal directories.