bash

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoBuild

func GoBuild(binaryName, mainPackage string, ldflags ...string) error

GoBuild for `go build`

func GoClean

func GoClean(cleanArgs ...string) error

GoClean for `go clean`

func GoFmt

func GoFmt(filename string) error

GoFmt for `go fmt`

func GoGet

func GoGet(packageName string) error

GoGet for `go get`

func GoImports

func GoImports(filename string) error

GoImports for `goimports`

func GoModTidy

func GoModTidy() error

GoModTidy for `go mod tidy`

func GoTest

func GoTest(targets []string) error

GoTest for `go test` with coverprofile

func Run

func Run(name string, args ...string) error

Run to execute bash or exit the application

func RunGoBin

func RunGoBin(name string, args ...string) error

RunGoBin to run binary in gobin folder

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL