Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Platforms = []Platform{
{OS: "windows", Arch: "amd64"},
{OS: "linux", Arch: "amd64"},
{OS: "darwin", Arch: "amd64"},
}
Platforms contains the list of platforms to build for.
Functions ¶
func Builder ¶
func Builder(opts ...OptionFunc) error
Types ¶
type OptionFunc ¶
type OptionFunc func(*Option)
func WithPath ¶
func WithPath(path string) OptionFunc
func WithPlaftforms ¶
func WithPlaftforms(p Platform) OptionFunc
func WithZip ¶
func WithZip(zip bool) OptionFunc
Click to show internal directories.
Click to hide internal directories.