Documentation
¶
Index ¶
- Constants
- func GoBuild(opts GoBuildOptions) error
- func GoClean(ctx context.Context, dir string) ([]string, error)
- func GoFixImports(ctx context.Context, dir string) ([]string, error)
- func GoFmt(ctx context.Context, fPath string) error
- func GoModVer() (string, error)
- func GoRun(mainPath string) error
- func GoTidy(ctx context.Context, dir string) error
- func GoVer() (string, error)
- func GoVet(ctx context.Context, fPath string) error
- func JsFmt(ctx context.Context, dir, relPath string) error
- func Lookup(cmd string) bool
- func Shell() string
- func TsFmt(ctx context.Context, dir, relPath string) error
- type GoBuildOptions
- type GoRunOptions
- type GoRunProcess
- type ModuleChange
Constants ¶
View Source
const ( ModePatch = "patch" ModeFull = "full" // Maybe later change to minor, major? )
View Source
const ( AppNPM = "npm" AppNPX = "npx" )
View Source
const (
AppGo = "go"
)
Variables ¶
This section is empty.
Functions ¶
func GoBuild ¶
func GoBuild(opts GoBuildOptions) error
GoBuild compiles the specified main package into a binary.
Types ¶
type GoBuildOptions ¶
type GoRunOptions ¶
type GoRunProcess ¶
func StartGoRunProcess ¶
func StartGoRunProcess(opts GoRunOptions) (*GoRunProcess, error)
type ModuleChange ¶
func GoUpdateWithChanges ¶
func GoUpdateWithChanges(ctx context.Context, dir, mode string) ([]ModuleChange, error)
GoUpdateWithChanges updates the project dependencies and returns the changes mode: patch or else
Click to show internal directories.
Click to hide internal directories.