Small code review update -- use CamelCase

This commit is contained in:
Eugene Bujak 2018-12-06 17:18:16 +03:00
parent 217124cb3b
commit e5c1211e17

6
app.go
View file

@ -166,10 +166,10 @@ func main() {
}
}()
signal_channel := make(chan os.Signal)
signal.Notify(signal_channel, syscall.SIGINT, syscall.SIGTERM, syscall.SIGHUP, syscall.SIGQUIT)
signalChannel := make(chan os.Signal)
signal.Notify(signalChannel, syscall.SIGINT, syscall.SIGTERM, syscall.SIGHUP, syscall.SIGQUIT)
go func() {
<-signal_channel
<-signalChannel
cleanup()
os.Exit(0)
}()