Ver Fonte

use cwd instead of hardcoded path for config

reid há 2 anos atrás
pai
commit
96c0292f8e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      config/config.go

+ 1 - 1
config/config.go

@@ -17,7 +17,7 @@ import (
 var (
 	globalConfig       structs.SysConfig
 	logger             = slog.New(slog.NewJSONHandler(os.Stdout, nil))
-	// basePath           = "/home/reid/gits/np/goseg"
+	basePath		   string
 	Version            = "v2.0.0"
 	Ready              = false
 	VersionServerReady = false