Documentation ¶
Index ¶
- func AddCommands(commands map[string]build.Command)
- func EnsureGo(ctx context.Context) error
- func EnsureGoProto(ctx context.Context, deps build.DepsFunc) error
- func EnsureGolangCI(ctx context.Context) error
- func EnsureProtoC(ctx context.Context) error
- func GitFetch(ctx context.Context) error
- func GoBuildPkg(ctx context.Context, pkg, out string, cgo bool, tags ...string) error
- func GoLint(ctx context.Context, deps build.DepsFunc) error
- func GoModTidy(ctx context.Context, deps build.DepsFunc) error
- func GoTest(ctx context.Context, deps build.DepsFunc, tags ...string) error
- func InstallAll(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommands ¶
AddCommands adds go and git commands
func EnsureGoProto ¶ added in v0.5.4
EnsureGoProto ensures that go proto generator is installed
func EnsureGolangCI ¶ added in v0.3.0
EnsureGolangCI ensures that golangci is installed
func EnsureProtoC ¶ added in v0.5.4
EnsureProtoC ensures that protoc is installed
func GoBuildPkg ¶
GoBuildPkg builds go package
func InstallAll ¶ added in v0.3.0
InstallAll installs all go tools
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.