Documentation ¶
Index ¶
Constants ¶
View Source
const INJECT = `
package main
//import "fmt"
func a(){
__traceStack()
}
`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DogHelper ¶
type DogHelper struct {
// contains filtered or unexported fields
}
func NewDogHelper ¶
func (*DogHelper) EraseDogHelper ¶
func (*DogHelper) WriteDogHelper ¶
func (d *DogHelper) WriteDogHelper()
type Injector ¶
type Injector struct { MyImport *ast.ImportSpec Mystate ast.Stmt }
func NewInjector ¶
func NewInjector() *Injector
func (*Injector) InjectFile ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ForEachDecl ¶
Click to show internal directories.
Click to hide internal directories.