pkg/test/helpers
Victor Agababov 7a5ce38287 Simplify and comment AppenRandomString (#282)
* Simplify and comment AppenRandomString

Port and rewrite the comment from the original.
Remove the sync.Once(). Initializing during package initialization is just as good.
Mutex doesn't have to be a pointer

* remove fancy rnd, remove mutex, add example, which would also check compilation

* actually commit the example

* add licence
2019-02-18 12:26:45 -08:00
..
data.go Simplify and comment AppenRandomString (#282) 2019-02-18 12:26:45 -08:00
data_test.go Simplify and comment AppenRandomString (#282) 2019-02-18 12:26:45 -08:00