Documentation ¶
Index ¶
Constants ¶
View Source
const Deployment = Production
Deployment specifies a production build.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeploymentType ¶
type DeploymentType byte
DeploymentType is an enum specifying the deployment to compile.
const ( // Development is a deployment that includes extra testing hooks and // logging configurations. Development DeploymentType = iota // Production is a deployment that strips out testing logic and uses // Default logging. Production )
func (DeploymentType) String ¶
func (b DeploymentType) String() string
String returns a human readable name for a build type.
Click to show internal directories.
Click to hide internal directories.