add: CORS

This commit is contained in:
$(pass /github/name)
2024-08-22 11:27:27 +02:00
parent ee66835649
commit 682c50574b
5 changed files with 151 additions and 4 deletions

13
go.mod
View File

@@ -11,9 +11,18 @@ require (
gorm.io/gorm v1.25.10
)
require github.com/kelseyhightower/envconfig v1.4.0
require (
github.com/gin-contrib/cors v1.7.2
github.com/kelseyhightower/envconfig v1.4.0
github.com/mocktools/go-smtp-mock/v2 v2.3.1
github.com/stretchr/testify v1.9.0
)
require github.com/mocktools/go-smtp-mock/v2 v2.3.1 // indirect
require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
)
require (
github.com/bytedance/sonic v1.11.9 // indirect