driftctl/build/build.go

14 lines
167 B
Go
Raw Normal View History

package build
var env = "dev"
type BuildInterface interface {
IsRelease() bool
}
type Build struct{}
func (b Build) IsRelease() bool {
return env == "release"
}