From 740c96950952493702a8857c5660147aad383ca2 Mon Sep 17 00:00:00 2001 From: trunglt251292 Date: Mon, 10 Oct 2022 10:22:40 +0700 Subject: [PATCH] [Update] Package --- action_get_all_devices.go | 2 +- action_get_staff_permissions.go | 2 +- action_upsert.go | 4 ++-- devicemngt.go | 2 +- go.mod | 8 ++++---- go.sum | 12 ++++++------ helper.go | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/action_get_all_devices.go b/action_get_all_devices.go index eec3be5..40b6abc 100644 --- a/action_get_all_devices.go +++ b/action_get_all_devices.go @@ -3,7 +3,7 @@ package devicemngt import ( "context" - "github.com/Selly-Modules/logger" + "git.selly.red/Selly-Modules/logger" ) // AllQuery ... diff --git a/action_get_staff_permissions.go b/action_get_staff_permissions.go index 4822d9d..50dfeeb 100644 --- a/action_get_staff_permissions.go +++ b/action_get_staff_permissions.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/Selly-Modules/logger" + "git.selly.red/Selly-Modules/logger" ) // GetStaffPermissionsByToken ... diff --git a/action_upsert.go b/action_upsert.go index 5d8a45b..ff34ec3 100644 --- a/action_upsert.go +++ b/action_upsert.go @@ -6,8 +6,8 @@ import ( "strings" "time" - "github.com/Selly-Modules/logger" - "github.com/Selly-Modules/mongodb" + "git.selly.red/Selly-Modules/logger" + "git.selly.red/Selly-Modules/mongodb" ua "github.com/mssola/user_agent" ) diff --git a/devicemngt.go b/devicemngt.go index 7d36b52..359cf19 100644 --- a/devicemngt.go +++ b/devicemngt.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" + "git.selly.red/Selly-Modules/postgresql" "github.com/Masterminds/squirrel" - "github.com/Selly-Modules/postgresql" "github.com/jmoiron/sqlx" ) diff --git a/go.mod b/go.mod index 2488df1..08be56b 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,12 @@ -module github.com/Selly-Modules/devicemngt +module git.selly.red/Selly-Modules/devicemngt go 1.16 require ( github.com/Masterminds/squirrel v1.5.0 - github.com/Selly-Modules/logger v0.0.0-20210809034923-140a51f39ec9 - github.com/Selly-Modules/mongodb v0.0.0-20210809045618-1627bbdb616b - github.com/Selly-Modules/postgresql v0.0.0-20210809033000-f4da943b5d98 + git.selly.red/Selly-Modules/logger v0.0.0-20210809034923-140a51f39ec9 + git.selly.red/Selly-Modules/mongodb v0.0.0-20210809045618-1627bbdb616b + git.selly.red/Selly-Modules/postgresql v0.0.0-20210809033000-f4da943b5d98 github.com/jmoiron/sqlx v1.3.4 github.com/mssola/user_agent v0.5.3 ) diff --git a/go.sum b/go.sum index 12f3e7e..04fe350 100644 --- a/go.sum +++ b/go.sum @@ -1,12 +1,12 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/Masterminds/squirrel v1.5.0 h1:JukIZisrUXadA9pl3rMkjhiamxiB0cXiu+HGp/Y8cY8= github.com/Masterminds/squirrel v1.5.0/go.mod h1:NNaOrjSoIDfDA40n7sr2tPNZRfjzjA400rg+riTZj10= -github.com/Selly-Modules/logger v0.0.0-20210809034923-140a51f39ec9 h1:AuJ/IIZ7yppyP19ILEYkwz26CwGXR4xUyXANKSG0+1U= -github.com/Selly-Modules/logger v0.0.0-20210809034923-140a51f39ec9/go.mod h1:RWhSQ3F01an8KD00VjzRBZOMcE5eV2Cy0/l4ZkeieyU= -github.com/Selly-Modules/mongodb v0.0.0-20210809045618-1627bbdb616b h1:D/xhzJNZwLwlqaJTeBD/s000GPN2TOjVdd3CukdBeis= -github.com/Selly-Modules/mongodb v0.0.0-20210809045618-1627bbdb616b/go.mod h1:hhzPI2DO0ghSTlfy5ddgBqIs9H3wtksSHLOWvDHp74M= -github.com/Selly-Modules/postgresql v0.0.0-20210809033000-f4da943b5d98 h1:hQ1SK4G2yMCLe+12TZJhSdraP6sTUh9h9H6y2AhfXKI= -github.com/Selly-Modules/postgresql v0.0.0-20210809033000-f4da943b5d98/go.mod h1:YbZKkEm4gRE+HMzB9td7fWkBWlw9rjrG5MLbcwSV4S4= +git.selly.red/Selly-Modules/logger v0.0.0-20210809034923-140a51f39ec9 h1:AuJ/IIZ7yppyP19ILEYkwz26CwGXR4xUyXANKSG0+1U= +git.selly.red/Selly-Modules/logger v0.0.0-20210809034923-140a51f39ec9/go.mod h1:RWhSQ3F01an8KD00VjzRBZOMcE5eV2Cy0/l4ZkeieyU= +git.selly.red/Selly-Modules/mongodb v0.0.0-20210809045618-1627bbdb616b h1:D/xhzJNZwLwlqaJTeBD/s000GPN2TOjVdd3CukdBeis= +git.selly.red/Selly-Modules/mongodb v0.0.0-20210809045618-1627bbdb616b/go.mod h1:hhzPI2DO0ghSTlfy5ddgBqIs9H3wtksSHLOWvDHp74M= +git.selly.red/Selly-Modules/postgresql v0.0.0-20210809033000-f4da943b5d98 h1:hQ1SK4G2yMCLe+12TZJhSdraP6sTUh9h9H6y2AhfXKI= +git.selly.red/Selly-Modules/postgresql v0.0.0-20210809033000-f4da943b5d98/go.mod h1:YbZKkEm4gRE+HMzB9td7fWkBWlw9rjrG5MLbcwSV4S4= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= diff --git a/helper.go b/helper.go index 23f9070..17ec30b 100644 --- a/helper.go +++ b/helper.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "github.com/Selly-Modules/logger" + "git.selly.red/Selly-Modules/logger" ) // findByDeviceID ...