Documentation ¶
Index ¶
- func GenMockPkg(srcPath, dstRoot, name string) (map[string]bool, error)
- func GetImports(path string, tests bool) (map[string]bool, error)
- func GetOutput(name string, args ...string) (string, error)
- func LinkPkg(srcPath, dstRoot, name string) (map[string]bool, error)
- func MakeMock(srcPath, dstPath string) error
- func MockImports(src, dst string, names map[string]string) error
- func MockStandard(srcRoot, dstRoot, name string) error
- func NewRewriter(w io.Writer) *rewriter
- type Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeMock ¶
MakeMock writes a mock version of the package found at srcPath into dstPath. If dstPath already exists, bad things will probably happen.
func MockStandard ¶
func NewRewriter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.