environment.go   A
last analyzed

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 6
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A mobilenig.Environment.String 0 2 1
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