Use gin-gonic/contrib/secure instead of deprecated module

This commit is contained in:
2022-05-07 12:40:25 +02:00
parent 1ee7256506
commit ca1d002974
5 changed files with 14 additions and 24 deletions

2
go.mod
View File

@ -3,11 +3,11 @@ module github.com/dcarrillo/whatismyip
go 1.18
require (
github.com/gin-gonic/contrib v0.0.0-20201101042839-6a891bf89f19
github.com/gin-gonic/gin v1.7.7
github.com/oschwald/maxminddb-golang v1.9.0
github.com/stretchr/testify v1.7.1
github.com/testcontainers/testcontainers-go v0.12.0
github.com/unrolled/secure v1.10.0
)
require (