Avoid taking a pointer of the loop variable.
authorFlorian Forster <ff@octo.it>
Thu, 1 Feb 2018 07:45:23 +0000 (08:45 +0100)
committerFlorian Forster <ff@octo.it>
Thu, 1 Feb 2018 07:45:25 +0000 (08:45 +0100)
commit6e331c2d34d55296317a37e525c6b721b974fef7
treef7255834abd080f7191101f275977c796c324b4b
parentbb0ee5050d834e438b67306c8e98d810478b3a08
Avoid taking a pointer of the loop variable.

By taking a pointer of the loop variable, subsequent goroutines will get
their subscription data changed because the loop is continuing.
kraftakt.go