[Update] Package

This commit is contained in:
trunglt251292 2022-10-10 10:22:40 +07:00
parent 9e5d8ebe9c
commit 740c969509
7 changed files with 16 additions and 16 deletions

View File

@ -3,7 +3,7 @@ package devicemngt
import (
"context"
"github.com/Selly-Modules/logger"
"git.selly.red/Selly-Modules/logger"
)
// AllQuery ...

View File

@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/Selly-Modules/logger"
"git.selly.red/Selly-Modules/logger"
)
// GetStaffPermissionsByToken ...

View File

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

View File

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

8
go.mod
View File

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

12
go.sum
View File

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

View File

@ -4,7 +4,7 @@ import (
"context"
"net/http"
"github.com/Selly-Modules/logger"
"git.selly.red/Selly-Modules/logger"
)
// findByDeviceID ...