Documentation ¶
Index ¶
Constants ¶
View Source
const CommentPrefix = "sqlgen:"
Variables ¶
This section is empty.
Functions ¶
func ParseComment ¶
Types ¶
type PackageDeclaration ¶
type PackageDeclaration struct { Block [][]string Types []TypeDeclaration FileSet *token.FileSet Package *ast.Package }
func ParseDir ¶
func ParseDir(path string) (*PackageDeclaration, error)
type TypeDeclaration ¶
Directories ¶
Path | Synopsis |
---|---|
This is a package sqlgen: package this line is ignored
|
This is a package sqlgen: package this line is ignored |
Click to show internal directories.
Click to hide internal directories.