gons

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultTestArgs  = []string{"-v", "-race", "-coverprofile=coverage.out", "-covermode=atomic", "./..."}
	DefaultCoverArgs = []string{"-html=coverage.out", "-o", "coverage.html"}
)

Functions

This section is empty.

Types

type Go

type Go mg.Namespace

func (Go) Cover

func (g Go) Cover() error

Run go tool cover, defaults: GO_COVER_ARGS="-html=coverage.out -o coverage.html"

func (Go) Coverage

func (g Go) Coverage() error

Open the coverage output in your browser (runs "go tool cover -html=coverage.out")

func (Go) Test

func (g Go) Test() error

Run go test, defaults: GO_TEST_ARGS="-v -race -coverprofile=coverage.out -covermode=atomic ./..."

Jump to

Keyboard shortcuts

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