File tree Expand file tree Collapse file tree 8 files changed +21
-21
lines changed
Expand file tree Collapse file tree 8 files changed +21
-21
lines changed Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff 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
1717type AuthController struct {
Original file line number Diff line number Diff line change 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
1212type UserController struct {
Original file line number Diff line number Diff line change 1- module github.com/wpcodevo/golang-postgresql-grpc
1+ module github.com/wpcodevo/golang-postgresql-api
22
33go 1.18
44
Original file line number Diff line number Diff line change 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
1616func DeserializeUser (db * db.Queries ) gin.HandlerFunc {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package models
33import (
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
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ package routes
22
33import (
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
1010type AuthRoutes struct {
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ package routes
22
33import (
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
1010type UserRoutes struct {
You can’t perform that action at this time.
0 commit comments