change path
This commit is contained in:
1 parent
577c1fd1a6
commit
6e59ef4e8d
4 files changed
+7
-7
No files matched your search
+2
-2
@@ -1,8 +1,6 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"admin-service/model"
|
||||
"admin-service/structure"
|
||||
"fmt"
|
||||
"gitlab.alx/msp2.0/msp-lib/logger"
|
||||
libStr "gitlab.alx/msp2.0/msp-lib/structure"
|
||||
@@ -14,6 +12,8 @@ import (
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/metadata"
|
||||
"google.golang.org/grpc/status"
|
||||
"msp-admin-service/model"
|
||||
"msp-admin-service/structure"
|
||||
)
|
||||
|
||||
func Logout(metadata metadata.MD) error {
|
||||
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
package helper
|
||||
|
||||
import (
|
||||
"admin-service/controller"
|
||||
"admin-service/structure"
|
||||
libStr "gitlab.alx/msp2.0/msp-lib/structure"
|
||||
"google.golang.org/grpc/metadata"
|
||||
"msp-admin-service/controller"
|
||||
"msp-admin-service/structure"
|
||||
)
|
||||
|
||||
type Handlers struct {
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"admin-service/conf"
|
||||
"admin-service/helper"
|
||||
"context"
|
||||
"gitlab.alx/msp2.0/msp-lib/backend"
|
||||
"gitlab.alx/msp2.0/msp-lib/bootstrap"
|
||||
"gitlab.alx/msp2.0/msp-lib/database"
|
||||
"gitlab.alx/msp2.0/msp-lib/socket"
|
||||
"msp-admin-service/conf"
|
||||
"msp-admin-service/helper"
|
||||
"os"
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -1,11 +1,11 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"admin-service/structure"
|
||||
"github.com/go-pg/pg"
|
||||
"gitlab.alx/msp2.0/msp-lib/database"
|
||||
libStr "gitlab.alx/msp2.0/msp-lib/structure"
|
||||
"gitlab.alx/msp2.0/msp-lib/utils"
|
||||
"msp-admin-service/structure"
|
||||
)
|
||||
|
||||
const DELETE_USERS = "DELETE FROM " + utils.DB_SCHEME + ".users WHERE id IN (?)"
|
||||
|
||||
Reference in new issue
Block a user