http://depado.markdownblog.com/2015-07-23-some-go-snippets-i-find-useful

Wrote these two little functions. Could anyone tell me if there are drawbacks on doing things that way ? Or any comments ?
Shared publiclyView activity