Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sub/sub.go')
-rw-r--r--sub/sub.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/sub/sub.go b/sub/sub.go
index 2a4a37f4..948adea8 100644
--- a/sub/sub.go
+++ b/sub/sub.go
@@ -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()