gobuild

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context) error

Build the current go code

func IntegrationTest

func IntegrationTest(ctx context.Context) error

IntegrationTest run against the current library

func Lint

func Lint(ctx context.Context) error

Lint the current go code

func Reformat

func Reformat(ctx context.Context) error

Reformat the current go code

func Test

func Test(ctx context.Context) error

Test the current go code

Types

type Go

type Go struct {
	Env         env.Env
	BuildBinary string
}
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