Skip to content

Commit

Permalink
Fix build, fix compile err
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan committed Feb 6, 2019
1 parent c97db61 commit d5106f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func main() {
}
atomictoken.Store(tokenfn())
go func() {
for t := range ticker.C {
for range ticker.C {
mu.Lock()
atomictoken.Store(tokenfn())
mu.Unlock()
Expand Down

0 comments on commit d5106f4

Please sign in to comment.