From b4bc00336fc749ec2a16bd74aece20ddcacda567 Mon Sep 17 00:00:00 2001 From: trunglt251292 Date: Mon, 10 Oct 2022 10:44:02 +0700 Subject: [PATCH] [Update] Package name --- bulk_write.go | 2 +- go.mod | 4 ++-- go.sum | 4 ++-- migration.go | 3 +-- postgresql.go | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/bulk_write.go b/bulk_write.go index a4a100f..33b2e1b 100644 --- a/bulk_write.go +++ b/bulk_write.go @@ -8,7 +8,7 @@ import ( "github.com/volatiletech/sqlboiler/v4/boil" - "github.com/Selly-Modules/logger" + "git.selly.red/Selly-Modules/logger" ) const ( diff --git a/go.mod b/go.mod index 061095b..0105d1a 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ -module github.com/Selly-Modules/postgresql +module git.selly.red/Selly-Modules/postgresql go 1.16 require ( github.com/Masterminds/squirrel v1.5.0 - github.com/Selly-Modules/logger v0.0.2-0.20220824032830-595811dd1f20 + git.selly.red/Selly-Modules/logger v0.0.2-0.20220824032830-595811dd1f20 github.com/golang-migrate/migrate/v4 v4.15.2 github.com/jackc/pgx/v4 v4.17.0 github.com/volatiletech/null/v8 v8.1.2 diff --git a/go.sum b/go.sum index 9d9d0bd..7584ca1 100644 --- a/go.sum +++ b/go.sum @@ -114,8 +114,8 @@ github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbt github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/Selly-Modules/logger v0.0.2-0.20220824032830-595811dd1f20 h1:6a57+Fr0p+1Lky+G15YZJs8AmpRNSzhRfl7z8WMXaCg= -github.com/Selly-Modules/logger v0.0.2-0.20220824032830-595811dd1f20/go.mod h1:kvXfyQNzXgdHfbocMCtUssRXicVKdwJahAKLKMJD1uU= +git.selly.red/Selly-Modules/logger v0.0.2-0.20220824032830-595811dd1f20 h1:6a57+Fr0p+1Lky+G15YZJs8AmpRNSzhRfl7z8WMXaCg= +git.selly.red/Selly-Modules/logger v0.0.2-0.20220824032830-595811dd1f20/go.mod h1:kvXfyQNzXgdHfbocMCtUssRXicVKdwJahAKLKMJD1uU= github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= diff --git a/migration.go b/migration.go index 831e21e..72a0e99 100644 --- a/migration.go +++ b/migration.go @@ -3,8 +3,7 @@ package postgresql import ( "database/sql" "fmt" - "github.com/Selly-Modules/logger" - "github.com/golang-migrate/migrate/v4" + "git.selly.red/Selly-Modules/logger" "github.com/golang-migrate/migrate/v4/database/postgres" _ "github.com/golang-migrate/migrate/v4/source/file" "os" diff --git a/postgresql.go b/postgresql.go index aafca37..bfe1b5a 100644 --- a/postgresql.go +++ b/postgresql.go @@ -3,7 +3,7 @@ package postgresql import ( "database/sql" "fmt" - "github.com/Selly-Modules/logger" + "git.selly.red/Selly-Modules/logger" "time" _ "github.com/jackc/pgx/v4/stdlib"