bash

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoBuild

func GoBuild(binaryName, mainPackage string)

GoBuild for `go build`

func GoClean

func GoClean(cleanArgs ...string)

GoClean for `go clean`

func GoFmt

func GoFmt(filename string)

GoFmt for `go fmt`

func GoGet

func GoGet(packageName string)

GoGet for `go get`

func GoTest

func GoTest(targets []string)

GoTest for `go test` with coverprofile

func Run

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

Run to execute bash or exit the application

func RunGoBin

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

RunGoBin to run binary in gobin folder

func Silent

func Silent(name string, args ...string)

Silent same with `Run()` without print any output

Types

This section is empty.

Jump to

Keyboard shortcuts

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