[Update] Package name

This commit is contained in:
trunglt251292 2022-10-10 10:42:39 +07:00
parent 847c2f1a89
commit 02859b2f16
5 changed files with 11 additions and 11 deletions

View File

@ -3,8 +3,8 @@ package audit
import ( import (
"context" "context"
"github.com/Selly-Modules/logger" "git.selly.red/Selly-Modules/logger"
"github.com/Selly-Modules/mongodb" "git.selly.red/Selly-Modules/mongodb"
) )
// CreatePayload ... // CreatePayload ...

View File

@ -4,7 +4,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/Selly-Modules/mongodb" "git.selly.red/Selly-Modules/mongodb"
"go.mongodb.org/mongo-driver/mongo" "go.mongodb.org/mongo-driver/mongo"
) )

View File

@ -1,7 +1,7 @@
package audit package audit
import ( import (
"github.com/Selly-Modules/mongodb" "git.selly.red/Selly-Modules/mongodb"
) )
func (s Service) indexDB() { func (s Service) indexDB() {

6
go.mod
View File

@ -1,10 +1,10 @@
module github.com/Selly-Modules/audit module git.selly.red/Selly-Modules/audit
go 1.16 go 1.16
require ( require (
github.com/Selly-Modules/logger v0.0.2 git.selly.red/Selly-Modules/logger v0.0.2
github.com/Selly-Modules/mongodb v1.0.4 git.selly.red/Selly-Modules/mongodb v1.0.4
github.com/go-stack/stack v1.8.1 // indirect github.com/go-stack/stack v1.8.1 // indirect
github.com/golang/snappy v0.0.4 // indirect github.com/golang/snappy v0.0.4 // indirect
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect

8
go.sum
View File

@ -1,8 +1,8 @@
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/Selly-Modules/logger v0.0.2 h1:ZchJbOBN26K11qmfgCtkF2eO2h7ldIKGG5SbQzmgBEE= git.selly.red/Selly-Modules/logger v0.0.2 h1:ZchJbOBN26K11qmfgCtkF2eO2h7ldIKGG5SbQzmgBEE=
github.com/Selly-Modules/logger v0.0.2/go.mod h1:kvXfyQNzXgdHfbocMCtUssRXicVKdwJahAKLKMJD1uU= git.selly.red/Selly-Modules/logger v0.0.2/go.mod h1:kvXfyQNzXgdHfbocMCtUssRXicVKdwJahAKLKMJD1uU=
github.com/Selly-Modules/mongodb v1.0.4 h1:zAtqmW+RLnNpAlB+bu2s7FE02D9AuptFjjx9KrbStRI= git.selly.red/Selly-Modules/mongodb v1.0.4 h1:zAtqmW+RLnNpAlB+bu2s7FE02D9AuptFjjx9KrbStRI=
github.com/Selly-Modules/mongodb v1.0.4/go.mod h1:OhqdqYqh8WqEEruz6U27Wu1kKoBLwIUQsc+56xl0Wcs= git.selly.red/Selly-Modules/mongodb v1.0.4/go.mod h1:OhqdqYqh8WqEEruz6U27Wu1kKoBLwIUQsc+56xl0Wcs=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= 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/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=