Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Comment4Node ¶ added in v0.0.4
func Comment4Node(node ast.Node, text string) *ast.CommentGroup
Comment4Node returns *ast.CommentGroup with text positioned before node
Types ¶
type ASTEditor ¶ added in v0.0.4
func ASTImportsFactory ¶ added in v0.0.6
type CodeEditor ¶
func AddImportsFactory ¶
func AddImportsFactory(imports ...string) CodeEditor
func AddNamedImportsFactory ¶ added in v0.0.6
func AddNamedImportsFactory(imports ...types.Import) CodeEditor
Click to show internal directories.
Click to hide internal directories.