golang

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoBuilder

type GoBuilder struct {
	// contains filtered or unexported fields
}

func New

func New(options ...Option) *GoBuilder

func (*GoBuilder) GoBuild

func (b *GoBuilder) GoBuild(ctx context.Context, outPath string, platform types.Platform) error

type Option

type Option func(*options)

func WithCGOEnabled

func WithCGOEnabled(v bool) Option

func WithGoBin

func WithGoBin(v string) Option

func WithLDFlags

func WithLDFlags(v string) Option

func WithMainPath

func WithMainPath(v string) Option

func WithModFlag

func WithModFlag(v string) Option

func WithTrimpath

func WithTrimpath(v bool) Option

Jump to

Keyboard shortcuts

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