Versions in this module Expand all Collapse all v0 v0.4.0 Dec 18, 2023 Changes in this version + var ErrCommentInTagExpr = errors.New("comments are not allowed within tag expressions") + func GetClosestModFile(startPath string) (file *modfile.File, moddir string, err error) + type InputFile struct + Moddir string + Modfile *modfile.File + Path string + Pkg *packages.Package + SyntaxIdx int + func Parse(targetFile string) (file *InputFile, err error) + func (f InputFile) GetInputStructs(acceptor TypeAcceptor) ([]domain.InputStruct, error) + func (fi InputFile) Ast() *ast.File + type TypeAcceptor interface + Accepts func(tspec *ast.TypeSpec) bool + AcceptsAll func() bool + IsDrained func() bool