Bladeren bron

git 代码测试

bsj 2 jaren geleden
bovenliggende
commit
f315e9a9a0
1 gewijzigde bestanden met toevoegingen van 8 en 7 verwijderingen
  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")
 			}