Documentation
¶
Index ¶
- Variables
- func ApplyGofmt(ctx context.Context, c *dagger.Client) error
- func ApplyGofumpt(ctx context.Context, c *dagger.Client) error
- func Base(c *dagger.Client) *dagger.Container
- func CrossBuild(ctx context.Context, c *dagger.Client, buildOpts types.CrossBuildOpts) error
- func ExportGoMod(ctx context.Context, c *dagger.Client) error
- func GoDeps(c *dagger.Client) *dagger.Container
- func GoMod(c *dagger.Client) *dagger.Container
- func GoVulnCheck(ctx context.Context, c *dagger.Client) error
- func LocalBuild(ctx context.Context, c *dagger.Client, buildOpts types.LocalBuildOpts) error
- func PrintGofmt(ctx context.Context, c *dagger.Client) error
- func PrintGofumpt(ctx context.Context, c *dagger.Client) error
- func RunGoTests(ctx context.Context, c *dagger.Client) error
- func Sources(c *dagger.Client) *dagger.Container
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BuildImage = "golang:1.19.3-alpine3.16" AppDir = "/go/src" )
Functions ¶
func CrossBuild ¶
func LocalBuild ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.