buildtasks

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoLint = goyek.Define(goyek.Task{
	Name:  "go-lint",
	Usage: "golangci-lint run --fix",
	Action: func(a *goyek.A) {
		if !cmd.Exec(a, "go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest") {
			return
		}
		cmd.Exec(a, "golangci-lint run --fix")
	},
})

Functions

func BenchArgs

func BenchArgs(pkg string, count int, mode BenchMode, libName string) []string

Types

type BenchMode

type BenchMode int
const (
	BenchModeWazero BenchMode = iota
	BenchModeCGO
	BenchModeDefault
)

Jump to

Keyboard shortcuts

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