update auth_service, add updateProfile method into interface

change main package to api_bb
This commit is contained in:
2025-10-11 05:41:15 +05:00
parent 62b0d4763d
commit a5ca98b549
12 changed files with 136 additions and 50 deletions
+10 -13
View File
@@ -1,12 +1,14 @@
module go-rest-api
module api_bb
go 1.21
go 1.25.1
require (
github.com/go-chi/chi/v5 v5.0.10
github.com/go-chi/cors v1.2.1
golang.org/x/crypto v0.31.0
gorm.io/gorm v1.25.10
github.com/go-chi/chi/v5 v5.2.3
github.com/go-chi/cors v1.2.2
github.com/golang-jwt/jwt/v5 v5.3.0
golang.org/x/crypto v0.43.0
gorm.io/driver/postgres v1.6.0
gorm.io/gorm v1.31.0
)
require (
@@ -14,13 +16,8 @@ require (
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgx/v5 v5.6.0 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/text v0.21.0 // indirect
)
require (
github.com/golang-jwt/jwt/v5 v5.3.0
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
gorm.io/driver/postgres v1.6.0
golang.org/x/sync v0.17.0 // indirect
golang.org/x/text v0.30.0 // indirect
)