combluotion/config/env_string.go
2025-01-27 15:23:46 -06:00

27 lines
595 B
Go

// Code generated by "stringer -type Env"; DO NOT EDIT.
package config
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[Dev-1]
_ = x[Prod-2]
_ = x[Qa-3]
_ = x[Test-4]
}
const _Env_name = "DevProdQaTest"
var _Env_index = [...]uint8{0, 3, 7, 9, 13}
func (i Env) String() string {
i -= 1
if i >= Env(len(_Env_index)-1) {
return "Env(" + strconv.FormatInt(int64(i+1), 10) + ")"
}
return _Env_name[_Env_index[i]:_Env_index[i+1]]
}