File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11# Snitch
2- [ ![ Build Status] ( https://travis-ci.org/lucasgomide/snitch.svg?branch=master )] ( https://travis-ci.org/lucasgomide/snitch )
3- [ ![ Coverage Status] ( https://coveralls.io/repos/github/lucasgomide/snitch/badge.svg?branch=master )] ( https://coveralls.io/github/lucasgomide/snitch?branch=master )
42[ ![ Documentation] ( https://godoc.org/github.com/lucasgomide/snitch?status.svg )] ( http://godoc.org/github.com/lucasgomide/snitch )
3+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/lucasgomide/snitch/badge.svg?branch=master )] ( https://coveralls.io/github/lucasgomide/snitch?branch=master )
4+ [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/lucasgomide/snitch )] ( https://goreportcard.com/report/github.com/lucasgomide/snitch )
5+ [ ![ Build Status] ( https://travis-ci.org/lucasgomide/snitch.svg?branch=master )] ( https://travis-ci.org/lucasgomide/snitch )
56
67Keep updated about each deploy via [ Tsuru] ( https://docs.tsuru.io/stable/ ) .
78
Original file line number Diff line number Diff line change 77
88// GetEnv interprets and split with "$" the given string to find
99// the ENV value
10- // It returns ENV value if split of given string lenght 2
10+ // It returns ENV value if split of given string length 2
1111// and the ENV value is not empty
12- // It returns the given name if split of given string not is lenght 2
12+ // It returns the given name if split of given string not is length 2
1313// or if given string length is 2 but the ENV value is empty
1414func GetEnv (s string ) string {
1515 sliceWords := strings .Split (s , "$" )
You can’t perform that action at this time.
0 commit comments