style(service): modify package name "service" to "sys"
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
"super-frpc/frpLogger"
|
||||
"super-frpc/global"
|
||||
"super-frpc/postLog"
|
||||
"super-frpc/service"
|
||||
"super-frpc/sys"
|
||||
"super-frpc/session"
|
||||
"super-frpc/utils"
|
||||
"super-frpc/watchdog"
|
||||
@@ -38,7 +38,7 @@ func main() {
|
||||
postLog.Info(fmt.Sprintf("Created default config file at %s", *global.ConfigPath))
|
||||
}
|
||||
|
||||
err := config.LoadConfig(*global.ConfigPath, service.GetInitSystem)
|
||||
err := config.LoadConfig(*global.ConfigPath, sys.GetInitSystem)
|
||||
if err != nil {
|
||||
postLog.Fatal(fmt.Sprintf("Failed to load config: %v", err))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user