Make experimental a runtime flag
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> Upstream-commit: 7781a1bf0fef748877326632b88e92fbf3c90daa Component: engine
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
// +build experimental
|
||||
|
||||
package utils
|
||||
|
||||
// ExperimentalBuild is a stub which always returns true for
|
||||
// builds that include the "experimental" build tag
|
||||
func ExperimentalBuild() bool {
|
||||
return true
|
||||
}
|
||||
@ -1,9 +0,0 @@
|
||||
// +build !experimental
|
||||
|
||||
package utils
|
||||
|
||||
// ExperimentalBuild is a stub which always returns false for
|
||||
// builds that do not include the "experimental" build tag
|
||||
func ExperimentalBuild() bool {
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user