diff options
-rw-r--r-- | pkg/backend/routes.go | 2 | ||||
-rw-r--r-- | pkg/backend/run.go | 2 | ||||
-rw-r--r-- | pkg/middlewares/basic_auth/middleware.go (renamed from pkg/basic_auth/middleware.go) | 0 | ||||
-rw-r--r-- | pkg/middlewares/logger/body_writer.go (renamed from pkg/logger/body_writer.go) | 0 | ||||
-rw-r--r-- | pkg/middlewares/logger/middleware.go (renamed from pkg/logger/middleware.go) | 0 | ||||
-rw-r--r-- | pkg/webui/run.go | 2 |
6 files changed, 3 insertions, 3 deletions
diff --git a/pkg/backend/routes.go b/pkg/backend/routes.go index 058febd..960a2e8 100644 --- a/pkg/backend/routes.go +++ b/pkg/backend/routes.go @@ -3,8 +3,8 @@ package backend import ( "net/http" - "git.adyxax.org/adyxax/tfstated/pkg/basic_auth" "git.adyxax.org/adyxax/tfstated/pkg/database" + "git.adyxax.org/adyxax/tfstated/pkg/middlewares/basic_auth" ) func addRoutes( diff --git a/pkg/backend/run.go b/pkg/backend/run.go index 2af47ab..d76d189 100644 --- a/pkg/backend/run.go +++ b/pkg/backend/run.go @@ -7,7 +7,7 @@ import ( "net/http" "git.adyxax.org/adyxax/tfstated/pkg/database" - "git.adyxax.org/adyxax/tfstated/pkg/logger" + "git.adyxax.org/adyxax/tfstated/pkg/middlewares/logger" ) func Run( diff --git a/pkg/basic_auth/middleware.go b/pkg/middlewares/basic_auth/middleware.go index cb2dcf0..cb2dcf0 100644 --- a/pkg/basic_auth/middleware.go +++ b/pkg/middlewares/basic_auth/middleware.go diff --git a/pkg/logger/body_writer.go b/pkg/middlewares/logger/body_writer.go index f57a03e..f57a03e 100644 --- a/pkg/logger/body_writer.go +++ b/pkg/middlewares/logger/body_writer.go diff --git a/pkg/logger/middleware.go b/pkg/middlewares/logger/middleware.go index 54cca96..54cca96 100644 --- a/pkg/logger/middleware.go +++ b/pkg/middlewares/logger/middleware.go diff --git a/pkg/webui/run.go b/pkg/webui/run.go index 3aaec55..f1b20cb 100644 --- a/pkg/webui/run.go +++ b/pkg/webui/run.go @@ -7,7 +7,7 @@ import ( "net/http" "git.adyxax.org/adyxax/tfstated/pkg/database" - "git.adyxax.org/adyxax/tfstated/pkg/logger" + "git.adyxax.org/adyxax/tfstated/pkg/middlewares/logger" ) func Run( |