diff options
Diffstat (limited to 'sub/sub.go')
| -rw-r--r-- | sub/sub.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,7 @@ import ( "net" "net/http" "strconv" + "x-ui/config" "x-ui/logger" "x-ui/util/common" @@ -99,7 +100,7 @@ func (s *Server) initRouter() (*gin.Engine, error) { } func (s *Server) Start() (err error) { - //This is an anonymous function, no function name + // This is an anonymous function, no function name defer func() { if err != nil { s.Stop() |
