Documentation ¶
Index ¶
- type Import
- type Rewriter
- func (r *Rewriter) ExistingImports(filename string) []Import
- func (r *Rewriter) GetMethodBody(structname, methodname string) string
- func (r *Rewriter) GetMethodComment(structname, methodname string) string
- func (r *Rewriter) GetPrevDecl(structname, methodname string) *ast.FuncDecl
- func (r *Rewriter) MarkStructCopied(name string)
- func (r *Rewriter) RemainingSource(filename string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rewriter ¶
type Rewriter struct {
// contains filtered or unexported fields
}
func (*Rewriter) ExistingImports ¶
func (*Rewriter) GetMethodBody ¶
func (*Rewriter) GetMethodComment ¶ added in v0.17.11
func (*Rewriter) GetPrevDecl ¶ added in v0.17.23
func (*Rewriter) MarkStructCopied ¶
func (*Rewriter) RemainingSource ¶
Click to show internal directories.
Click to hide internal directories.