From ac07bc27e19826f029732b2a1cc4cc850a8540eb Mon Sep 17 00:00:00 2001 From: MakMuftic Date: Wed, 13 Mar 2024 13:45:47 +0100 Subject: [PATCH] fix imports --- internal/rpcgateway/rpcgateway.go | 3 ++- main.go | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/internal/rpcgateway/rpcgateway.go b/internal/rpcgateway/rpcgateway.go index e498549..4cae80b 100644 --- a/internal/rpcgateway/rpcgateway.go +++ b/internal/rpcgateway/rpcgateway.go @@ -3,10 +3,11 @@ package rpcgateway import ( "context" "fmt" - "github.com/sygmaprotocol/rpc-gateway/internal/util" "log/slog" "os" + "github.com/sygmaprotocol/rpc-gateway/internal/util" + "github.com/carlmjohnson/flowmatic" "github.com/go-chi/chi/v5" "github.com/pkg/errors" diff --git a/main.go b/main.go index ebb7dbd..7f71050 100644 --- a/main.go +++ b/main.go @@ -3,9 +3,6 @@ package main import ( "context" "fmt" - "github.com/go-chi/chi/v5" - "github.com/go-chi/chi/v5/middleware" - "github.com/go-chi/httplog/v2" "log/slog" "net/http" "os" @@ -14,6 +11,10 @@ import ( "syscall" "time" + "github.com/go-chi/chi/v5" + "github.com/go-chi/chi/v5/middleware" + "github.com/go-chi/httplog/v2" + "github.com/sygmaprotocol/rpc-gateway/internal/metrics" "github.com/sygmaprotocol/rpc-gateway/internal/util"