Documentation ¶ Index ¶ func New() pgs.Module func Retag(n ast.Node, tags StructTags) error type StructTags func (s StructTags) AddTagsToXXXFields(tags *structtag.Tags) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New() pgs.Module func Retag ¶ func Retag(n ast.Node, tags StructTags) error Retag updates the existing tags with the map passed and modifies existing tags if any of the keys are matched. First key to the tags argument is the name of the struct, the second key corresponds to field names. Types ¶ type StructTags ¶ type StructTags map[string]map[string]*structtag.Tags func (StructTags) AddTagsToXXXFields ¶ func (s StructTags) AddTagsToXXXFields(tags *structtag.Tags) Source Files ¶ View all Source files extract.go mergeCode.go replace.go service.go tagger.go Click to show internal directories. Click to hide internal directories.