Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCommentInTagExpr = errors.New("comments are not allowed within tag expressions")
Functions ¶
Types ¶
type InputFile ¶
type InputFile struct {
Path string // Path of the file
Modfile *modfile.File // File's module
Moddir string // Directory where module file is present
Pkg *packages.Package // Parsed file's package
SyntaxIdx int // index of file ast in pkg.Syntax
}
func (InputFile) GetInputStructs ¶
func (f InputFile) GetInputStructs(acceptor TypeAcceptor) ([]domain.InputStruct, error)
type TypeAcceptor ¶
Click to show internal directories.
Click to hide internal directories.