summaryrefslogtreecommitdiff
path: root/gateway/main.go
diff options
context:
space:
mode:
authorMatthieu <matthieu@developershouse.xyz>2021-08-07 14:28:38 +0400
committerMatthieu <matthieu@developershouse.xyz>2021-08-07 14:28:38 +0400
commit47d8443d202ab40897c8d08e1658748c581d73e7 (patch)
treec1fc9bec21a35eadfd7b658bda9772d7690b43e0 /gateway/main.go
parentabc3b1ca58d93a448ee07cbab9ab01d88e39e25b (diff)
novalet base & golang cleanup
Diffstat (limited to 'gateway/main.go')
-rw-r--r--gateway/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/gateway/main.go b/gateway/main.go
index 6f10dd3..d0857fc 100644
--- a/gateway/main.go
+++ b/gateway/main.go
@@ -3,7 +3,7 @@ package main
import (
"flag"
- "github.com/discordnova/nova/gateway/lib"
+ "github.com/discordnova/nova/common"
"github.com/discordnova/nova/gateway/lib/gateway"
"github.com/discordnova/nova/gateway/lib/gateway/compression"
"github.com/discordnova/nova/gateway/lib/gateway/transporters"
@@ -40,10 +40,10 @@ func validate(settings *gateway.GatewayConnectorOptions) {
func main() {
flag.Parse()
- lib.SetupLogger()
+ common.SetupLogger()
if monitoring != nil {
- go lib.CreatePrometheus(*monitoring)
+ go common.CreatePrometheus(*monitoring)
log.Debug().Msg("prometheus server called")
}