From 382ba098509fa4b002c0bb2927159869b8cf5a66 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Fri, 2 Jun 2023 17:46:57 -0400 Subject: [PATCH] Pointer subfolders vers agecem/bottin/v5 --- cmd/api.go | 4 ++-- cmd/web.go | 6 +++--- data/apiclient.go | 4 ++-- data/data.go | 2 +- handlers/health.go | 4 ++-- handlers/insert.go | 4 ++-- handlers/read.go | 2 +- handlers/seed.go | 2 +- handlers/update.go | 2 +- main.go | 2 +- web/webhandlers/handlers.go | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/cmd/api.go b/cmd/api.go index 1044c34..e44ab61 100644 --- a/cmd/api.go +++ b/cmd/api.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - "git.agecem.com/agecem/bottin/data" - "git.agecem.com/agecem/bottin/handlers" + "git.agecem.com/agecem/bottin/v5/data" + "git.agecem.com/agecem/bottin/v5/handlers" "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" "github.com/spf13/cobra" diff --git a/cmd/web.go b/cmd/web.go index c773b56..d09477c 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -8,9 +8,9 @@ import ( "io" "log" - "git.agecem.com/agecem/bottin/data" - "git.agecem.com/agecem/bottin/web" - "git.agecem.com/agecem/bottin/web/webhandlers" + "git.agecem.com/agecem/bottin/v5/data" + "git.agecem.com/agecem/bottin/v5/web" + "git.agecem.com/agecem/bottin/v5/web/webhandlers" "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" "github.com/spf13/cobra" diff --git a/data/apiclient.go b/data/apiclient.go index 1eef66a..585dd33 100644 --- a/data/apiclient.go +++ b/data/apiclient.go @@ -8,8 +8,8 @@ import ( "io/ioutil" "net/http" - "git.agecem.com/agecem/bottin/models" - "git.agecem.com/agecem/bottin/responses" + "git.agecem.com/agecem/bottin/v5/models" + "git.agecem.com/agecem/bottin/v5/responses" "github.com/spf13/viper" ) diff --git a/data/data.go b/data/data.go index 5494cb1..1e4d17a 100644 --- a/data/data.go +++ b/data/data.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "git.agecem.com/agecem/bottin/models" + "git.agecem.com/agecem/bottin/v5/models" _ "github.com/jackc/pgx/stdlib" "github.com/jmoiron/sqlx" "github.com/spf13/viper" diff --git a/handlers/health.go b/handlers/health.go index 5292e56..f8baece 100644 --- a/handlers/health.go +++ b/handlers/health.go @@ -4,8 +4,8 @@ import ( "fmt" "net/http" - "git.agecem.com/agecem/bottin/data" - "git.agecem.com/agecem/bottin/responses" + "git.agecem.com/agecem/bottin/v5/data" + "git.agecem.com/agecem/bottin/v5/responses" "github.com/labstack/echo/v4" ) diff --git a/handlers/insert.go b/handlers/insert.go index 38cad02..0542bc5 100644 --- a/handlers/insert.go +++ b/handlers/insert.go @@ -3,8 +3,8 @@ package handlers import ( "net/http" - "git.agecem.com/agecem/bottin/data" - "git.agecem.com/agecem/bottin/models" + "git.agecem.com/agecem/bottin/v5/data" + "git.agecem.com/agecem/bottin/v5/models" "github.com/labstack/echo/v4" "github.com/spf13/viper" ) diff --git a/handlers/read.go b/handlers/read.go index 3932ec3..c5a074d 100644 --- a/handlers/read.go +++ b/handlers/read.go @@ -3,7 +3,7 @@ package handlers import ( "net/http" - "git.agecem.com/agecem/bottin/data" + "git.agecem.com/agecem/bottin/v5/data" "github.com/labstack/echo/v4" "github.com/spf13/viper" ) diff --git a/handlers/seed.go b/handlers/seed.go index 237de09..947707d 100644 --- a/handlers/seed.go +++ b/handlers/seed.go @@ -3,7 +3,7 @@ package handlers import ( "net/http" - "git.agecem.com/agecem/bottin/data" + "git.agecem.com/agecem/bottin/v5/data" "github.com/labstack/echo/v4" "github.com/spf13/viper" ) diff --git a/handlers/update.go b/handlers/update.go index 6422f61..a0d9ba2 100644 --- a/handlers/update.go +++ b/handlers/update.go @@ -3,7 +3,7 @@ package handlers import ( "net/http" - "git.agecem.com/agecem/bottin/data" + "git.agecem.com/agecem/bottin/v5/data" "github.com/labstack/echo/v4" "github.com/spf13/viper" ) diff --git a/main.go b/main.go index c6efc0b..567ba46 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -import "git.agecem.com/agecem/bottin/cmd" +import "git.agecem.com/agecem/bottin/v5/cmd" func main() { cmd.Execute() diff --git a/web/webhandlers/handlers.go b/web/webhandlers/handlers.go index abfa955..dce8399 100644 --- a/web/webhandlers/handlers.go +++ b/web/webhandlers/handlers.go @@ -4,7 +4,7 @@ import ( "fmt" "net/http" - "git.agecem.com/agecem/bottin/data" + "git.agecem.com/agecem/bottin/v5/data" "github.com/labstack/echo/v4" ) -- 2.45.2