6dd5f64ddb
modified: serv_nginx/api_bb/go.mod modified: serv_nginx/api_bb/go.sum modified: serv_nginx/api_bb/internal/config/config.go modified: serv_nginx/api_bb/pkg/database/database.go change database to postgresql form sqlite
28 lines
695 B
Modula-2
28 lines
695 B
Modula-2
module go-rest-api
|
|
|
|
go 1.21
|
|
|
|
require (
|
|
github.com/go-chi/chi/v5 v5.0.10
|
|
github.com/go-chi/cors v1.2.1
|
|
gorm.io/driver/sqlite v1.5.4
|
|
gorm.io/gorm v1.25.10
|
|
)
|
|
|
|
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
|
|
golang.org/x/crypto v0.31.0 // indirect
|
|
golang.org/x/sync v0.10.0 // indirect
|
|
golang.org/x/text v0.21.0 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
github.com/jinzhu/now v1.1.5 // indirect
|
|
github.com/mattn/go-sqlite3 v1.14.17 // indirect
|
|
gorm.io/driver/postgres v1.6.0
|
|
)
|