Versions in this module Expand all Collapse all v1 v1.0.0 Nov 27, 2023 Changes in this version + type Field struct + Comment string + Name string + Tags []tags.Tag + Type string + type File struct + Package string + Path FilePath + Structs []Struct + type FilePath string + type Option struct + Key string + Value string + type Parser struct + func NewParser() *Parser + func (p *Parser) ParseDir(path string, recursive bool) (map[FilePath]*File, error) + func (p *Parser) ParseFile(filename string) (*File, error) + type Preprocessor struct + Exclude bool + ExcludeTags []string + Include bool + IncludeTags []string + func NewPreprocessor() *Preprocessor + func (p *Preprocessor) DoProcess() bool + func (p *Preprocessor) Parse(s string) + func (p *Preprocessor) ShouldProcess(tag string) bool + type Struct struct + Comment string + Fields []Field + Name string + TagKeys []string + func (s *Struct) ContainsTag(key string) bool