started action balance pointer filtering

This commit is contained in:
Radu Ioan Fericean
2016-02-09 16:19:40 +02:00
parent 84f9af6043
commit 7fc0e4ff50
12 changed files with 273 additions and 134 deletions

View File

@@ -337,6 +337,10 @@ func Fib() func() time.Duration {
// Utilities to provide pointers where we need to define ad-hoc
func StringPointer(str string) *string {
if str == ZERO {
str = ""
return &str
}
return &str
}