# Functions
Compile generates a binary from the sources based on the configuration.
DefaultConfig creates a new config, with default values.
Generate assembles a new distribution based on the given configuration.
GenerateAndCompile will generate the source files based on the given configuration, update go mod, and will compile into a binary.
GetModules retrieves the go modules, updating go.mod and go.sum in the process.
# Variables
ErrDeprecatedCore indicates deprecated core.
ErrGoNotFound is returned when a Go binary hasn't been found.
ErrInvalidGoMod indicates an invalid gomod.
# Structs
Config holds the builder's configuration.
Distribution holds the parameters for the final binary.
Module represents a receiver, exporter, processor or extension for the distribution.