mirror of
https://github.com/beego/bee.git
synced 2025-06-20 13:30:18 +00:00
go vet
go simple golint structcheck staticcheck unused unconvert
This commit is contained in:
@ -178,10 +178,8 @@ func RunApp(cmd *commands.Command, args []string) int {
|
||||
}
|
||||
|
||||
for {
|
||||
select {
|
||||
case <-exit:
|
||||
runtime.Goexit()
|
||||
}
|
||||
<-exit
|
||||
runtime.Goexit()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user