Use golint to normalize the code (#1)

This commit is contained in:
Li4n0
2021-04-21 22:08:29 +08:00
committed by GitHub
parent d4a47aebca
commit 960b2ab5ea
39 changed files with 1046 additions and 1108 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ func ping(c *gin.Context) {
}
func events(c *gin.Context) {
log.Info("Receive connection from ", c.Request.RemoteAddr)
log.Info("Receive connection from %v", c.Request.RemoteAddr)
c.Stream(func(w io.Writer) bool {
c.SSEvent("message", "connect succeed")
select {