mobilenig.Environment.String   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
package mobilenig
2
3
// Environment is the URL of the mobilenig environment
4
type Environment string
5
6
const (
7
	// TestEnvironment is the test Environment
8
	TestEnvironment = Environment("TEST")
9
10
	// LiveEnvironment is the production Environment
11
	LiveEnvironment = Environment("LIVE")
12
)
13
14
func (e Environment) String() string {
15
	return string(e)
16
}
17