From 1d68446ae893f1d21f5392fecd8122bbc7a06b5d Mon Sep 17 00:00:00 2001 From: jloup Date: Mon, 14 May 2018 20:56:25 +0200 Subject: Better go import paths. --- api/admin.go | 2 +- api/auth_jwt.go | 2 +- api/auth_otp.go | 2 +- api/market_config.go | 4 ++-- api/markets.go | 2 +- api/password_reset.go | 2 +- api/portfolio.go | 2 +- api/user.go | 2 +- cmd/app/main.go | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/api/admin.go b/api/admin.go index 0ac6050..3b16d87 100644 --- a/api/admin.go +++ b/api/admin.go @@ -3,7 +3,7 @@ package api import ( "fmt" - "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/db" + "git.immae.eu/Cryptoportfolio/Front.git/db" ) type GetAllPortfoliosQuery struct { diff --git a/api/auth_jwt.go b/api/auth_jwt.go index db7e3f4..88ccda8 100644 --- a/api/auth_jwt.go +++ b/api/auth_jwt.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/db" + "git.immae.eu/Cryptoportfolio/Front.git/db" "github.com/dgrijalva/jwt-go" "github.com/gin-gonic/gin" diff --git a/api/auth_otp.go b/api/auth_otp.go index de1cf24..bbf1464 100644 --- a/api/auth_otp.go +++ b/api/auth_otp.go @@ -7,7 +7,7 @@ import ( "github.com/gin-gonic/gin" "github.com/pquerna/otp/totp" - "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/db" + "git.immae.eu/Cryptoportfolio/Front.git/db" ) func GenerateSecret(user db.User) (bytes.Buffer, string, error) { diff --git a/api/market_config.go b/api/market_config.go index 09eb8a9..e02c3ba 100644 --- a/api/market_config.go +++ b/api/market_config.go @@ -6,8 +6,8 @@ import ( "time" "github.com/jloup/utils" - "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/db" - "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/markets" + "git.immae.eu/Cryptoportfolio/Front.git/db" + "git.immae.eu/Cryptoportfolio/Front.git/markets" ) type MarketConfigQuery struct { diff --git a/api/markets.go b/api/markets.go index 119c545..10493dd 100644 --- a/api/markets.go +++ b/api/markets.go @@ -1,7 +1,7 @@ package api import ( - "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/markets" + "git.immae.eu/Cryptoportfolio/Front.git/markets" ) var Poloniex *markets.Poloniex diff --git a/api/password_reset.go b/api/password_reset.go index c7931d4..0c55c02 100644 --- a/api/password_reset.go +++ b/api/password_reset.go @@ -5,7 +5,7 @@ import ( "time" "github.com/dchest/passwordreset" - "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/db" + "git.immae.eu/Cryptoportfolio/Front.git/db" ) var PASSWORD_RESET_SECRET []byte diff --git a/api/portfolio.go b/api/portfolio.go index 0fef94c..1e16426 100644 --- a/api/portfolio.go +++ b/api/portfolio.go @@ -5,7 +5,7 @@ import ( "time" "github.com/shopspring/decimal" - "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/db" + "git.immae.eu/Cryptoportfolio/Front.git/db" ) func init() { diff --git a/api/user.go b/api/user.go index 8f1a465..b285a20 100644 --- a/api/user.go +++ b/api/user.go @@ -9,7 +9,7 @@ import ( "github.com/dchest/passwordreset" "github.com/gin-gonic/gin" - "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/db" + "git.immae.eu/Cryptoportfolio/Front.git/db" ) const ( diff --git a/cmd/app/main.go b/cmd/app/main.go index 4405bf1..3f071de 100644 --- a/cmd/app/main.go +++ b/cmd/app/main.go @@ -6,8 +6,8 @@ import ( "strings" "time" - "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/api" - "immae.eu/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Front/db" + "git.immae.eu/Cryptoportfolio/Front.git/api" + "git.immae.eu/Cryptoportfolio/Front.git/db" "github.com/gin-contrib/cors" "github.com/gin-gonic/gin" -- cgit v1.2.3