ldflags

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder added in v0.5.0

type Builder interface {
	// Add a name and a resolver to the builder.
	Add(name string, resolver config.Resolver) Builder
	// Build into slice args for ldflags.
	Build() []string
	// BuildOnto provided args.
	BuildOnto(args []string) []string
}

Builder builds the LD flags by adding values resolvers.

func NewBuilder added in v0.5.0

func NewBuilder() Builder

NewBuilder creates a new builder.

Jump to

Keyboard shortcuts

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