gobuild

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context) error

Will build a static binary of the go program in the directory ${GOBUILD_MAIN_DIRECTORY}

func IntegrationTest

func IntegrationTest(ctx context.Context) error

Run a 'go test' with the integration flag for code in this repository

func Lint

func Lint(ctx context.Context) error

Lints the current code using golangci-lint

func Reformat

func Reformat(ctx context.Context) error

Format the code in place

func Test

func Test(ctx context.Context) error

Run a 'go test' against all code in this repository

Types

type Go

type Go struct {
	Env env.Env
}
var Instance Go

func (*Go) Build

func (g *Go) Build(ctx context.Context) error

func (*Go) IntegrationTest

func (g *Go) IntegrationTest(ctx context.Context) error

func (*Go) Lint

func (g *Go) Lint(ctx context.Context) error

func (*Go) Reformat

func (g *Go) Reformat(ctx context.Context) error

func (*Go) Test

func (g *Go) Test(ctx context.Context) error

Jump to

Keyboard shortcuts

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