Skip to content

Commit edb1751

Browse files
committed
updated
1 parent 67cf12a commit edb1751

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

cmd/server/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99

1010
"github.com/gin-contrib/cors"
1111
"github.com/gin-gonic/gin"
12-
"github.com/wpcodevo/golang-postgresql-grpc/config"
13-
"github.com/wpcodevo/golang-postgresql-grpc/controllers"
14-
dbConn "github.com/wpcodevo/golang-postgresql-grpc/db/sqlc"
15-
"github.com/wpcodevo/golang-postgresql-grpc/routes"
12+
"github.com/wpcodevo/golang-postgresql-api/config"
13+
"github.com/wpcodevo/golang-postgresql-api/controllers"
14+
dbConn "github.com/wpcodevo/golang-postgresql-api/db/sqlc"
15+
"github.com/wpcodevo/golang-postgresql-api/routes"
1616

1717
_ "github.com/lib/pq"
1818
)

controllers/auth.controller.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88

99
"github.com/gin-gonic/gin"
1010
"github.com/google/uuid"
11-
"github.com/wpcodevo/golang-postgresql-grpc/config"
12-
db "github.com/wpcodevo/golang-postgresql-grpc/db/sqlc"
13-
"github.com/wpcodevo/golang-postgresql-grpc/models"
14-
"github.com/wpcodevo/golang-postgresql-grpc/utils"
11+
"github.com/wpcodevo/golang-postgresql-api/config"
12+
db "github.com/wpcodevo/golang-postgresql-api/db/sqlc"
13+
"github.com/wpcodevo/golang-postgresql-api/models"
14+
"github.com/wpcodevo/golang-postgresql-api/utils"
1515
)
1616

1717
type AuthController struct {

controllers/user.controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"net/http"
66

77
"github.com/gin-gonic/gin"
8-
db "github.com/wpcodevo/golang-postgresql-grpc/db/sqlc"
9-
"github.com/wpcodevo/golang-postgresql-grpc/models"
8+
db "github.com/wpcodevo/golang-postgresql-api/db/sqlc"
9+
"github.com/wpcodevo/golang-postgresql-api/models"
1010
)
1111

1212
type UserController struct {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/wpcodevo/golang-postgresql-grpc
1+
module github.com/wpcodevo/golang-postgresql-api
22

33
go 1.18
44

middleware/deserialize-user.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88

99
"github.com/gin-gonic/gin"
1010
"github.com/google/uuid"
11-
"github.com/wpcodevo/golang-postgresql-grpc/config"
12-
db "github.com/wpcodevo/golang-postgresql-grpc/db/sqlc"
13-
"github.com/wpcodevo/golang-postgresql-grpc/utils"
11+
"github.com/wpcodevo/golang-postgresql-api/config"
12+
db "github.com/wpcodevo/golang-postgresql-api/db/sqlc"
13+
"github.com/wpcodevo/golang-postgresql-api/utils"
1414
)
1515

1616
func DeserializeUser(db *db.Queries) gin.HandlerFunc {

models/user.model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package models
33
import (
44
"time"
55

6-
db "github.com/wpcodevo/golang-postgresql-grpc/db/sqlc"
6+
db "github.com/wpcodevo/golang-postgresql-api/db/sqlc"
77
)
88

99
// 👈 SignInInput struct

routes/auth.route.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ package routes
22

33
import (
44
"github.com/gin-gonic/gin"
5-
"github.com/wpcodevo/golang-postgresql-grpc/controllers"
6-
db "github.com/wpcodevo/golang-postgresql-grpc/db/sqlc"
7-
"github.com/wpcodevo/golang-postgresql-grpc/middleware"
5+
"github.com/wpcodevo/golang-postgresql-api/controllers"
6+
db "github.com/wpcodevo/golang-postgresql-api/db/sqlc"
7+
"github.com/wpcodevo/golang-postgresql-api/middleware"
88
)
99

1010
type AuthRoutes struct {

routes/user.route.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ package routes
22

33
import (
44
"github.com/gin-gonic/gin"
5-
"github.com/wpcodevo/golang-postgresql-grpc/controllers"
6-
db "github.com/wpcodevo/golang-postgresql-grpc/db/sqlc"
7-
"github.com/wpcodevo/golang-postgresql-grpc/middleware"
5+
"github.com/wpcodevo/golang-postgresql-api/controllers"
6+
db "github.com/wpcodevo/golang-postgresql-api/db/sqlc"
7+
"github.com/wpcodevo/golang-postgresql-api/middleware"
88
)
99

1010
type UserRoutes struct {

0 commit comments

Comments
 (0)