Browse Source

git 代码测试

bsj 2 years ago
parent
commit
f315e9a9a0
1 changed files with 8 additions and 7 deletions
  1. 8 7
      main.go

+ 8 - 7
main.go

@@ -1,19 +1,20 @@
 package main
 
 import (
+	"fmt"
+	"log"
+	"net/http"
+	_ "net/http/pprof"
+	"os"
+	"strings"
+
 	"./models"
 	"./pkg/logging"
 	"./pkg/setting"
 	"./routers"
 	"./routers/api"
-	"fmt"
 	"github.com/kardianos/service"
 	"github.com/kptyun/KPTCOMM/mdns"
-	"log"
-	"net/http"
-	_ "net/http/pprof"
-	"os"
-	"strings"
 	//"unsafe"
 )
 
@@ -59,7 +60,7 @@ func main() {
 		if os.Args[1] == "remove" {
 			err = s.Uninstall()
 			if err != nil {
-				fmt.Println("Uninstall err", err)
+				fmt.Println("Uninstall err3123123", err)
 			} else {
 				fmt.Println("Uninstall success")
 			}