Documentation ¶
Index ¶
- func Error(msg string, args ...interface{})
- func FileExist(file string) bool
- func FindGoModFile() (string, error)
- func GetPkgName() (string, error)
- func MkDir(dir string) error
- func PipeOutput(cmd *exec.Cmd, pipe func(line []byte)) error
- type GoCmd
- func (g *GoCmd) Exec(args ...string) error
- func (g *GoCmd) ExecWithoutOutput(args ...string) error
- func (g *GoCmd) Fmt(paths ...string)
- func (g *GoCmd) FmtAll(dir ...string)
- func (g *GoCmd) Get(pkg string)
- func (g *GoCmd) Install(pkg string)
- func (g *GoCmd) List() (*GoList, error)
- func (g *GoCmd) ModInit(pkg string)
- func (g *GoCmd) ModTidy()
- func (g *GoCmd) Run(file string)
- type GoList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGoModFile ¶
func GetPkgName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.