[Update] Package name

This commit is contained in:
trunglt251292 2022-10-10 10:44:02 +07:00
parent 44182de030
commit b4bc00336f
5 changed files with 7 additions and 8 deletions

View File

@ -8,7 +8,7 @@ import (
"github.com/volatiletech/sqlboiler/v4/boil"
"github.com/Selly-Modules/logger"
"git.selly.red/Selly-Modules/logger"
)
const (

4
go.mod
View File

@ -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

4
go.sum
View File

@ -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=

View File

@ -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"

View File

@ -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"