modified: docker-compose.yaml

modified:   go.mod
	modified:   go.sum
	modified:   main.go
add db for rest api
This commit is contained in:
2025-09-25 04:55:27 +05:00
parent c2c48f5f9c
commit 2c07fba277
4 changed files with 122 additions and 2 deletions
+17
View File
@@ -1,3 +1,20 @@
module serv_golang_rest_api
go 1.22.5
require (
gorm.io/driver/postgres v1.6.0
gorm.io/gorm v1.31.0
)
require (
github.com/jackc/pgpassfile v1.0.0 // indirect
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
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.5 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/text v0.21.0 // indirect
)