Fix all linting errors

Disabled gocylco for now, need to use gometalinter to disable
conditionally. There are also a lot more linters we could use, but they
cause too many issues to start today.
This commit is contained in:
Sean DuBois
2018-07-21 11:53:21 -07:00
parent 03acd2b042
commit 13b02984e3
17 changed files with 23 additions and 54 deletions

View File

@@ -95,7 +95,10 @@ func main() {
dataChannelsLock.RLock()
for _, d := range datachannels {
d.Send([]byte(message))
err := d.Send([]byte(message))
if err != nil {
panic(err)
}
}
dataChannelsLock.RUnlock()
}