Documentation ¶
Index ¶
- Variables
- func ChangeLogger(f LoggingFunc) func()
- func Clean(ctx context.Context) error
- func GoBuild(releaseType ReleaseType) func(context.Context) error
- func GoLint(ctx context.Context) error
- func GoModDownload(ctx context.Context) error
- func GoTest(ctx context.Context) error
- func IsDebug() bool
- func IsVerbose() bool
- type LoggingFunc
- type ReleaseType
Constants ¶
This section is empty.
Variables ¶
View Source
var GolangCILintVersion = "1.56.2"
Functions ¶
func ChangeLogger ¶
func ChangeLogger(f LoggingFunc) func()
Change the logger function while returning a function to revert to the previous logger function.
func GoBuild ¶
func GoBuild(releaseType ReleaseType) func(context.Context) error
Build the golang project with a specified release type.
func GoModDownload ¶
Manage your deps, or running package managers.
Types ¶
type LoggingFunc ¶
var LogPrintF LoggingFunc = log.Printf
type ReleaseType ¶
type ReleaseType string
const ( DebugRelease ReleaseType = "debug" ProductionRelease ReleaseType = "release" )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.