Fail to build with go < 1.21
dubo-dubon-duponey opened this issue · 2 comments
dubo-dubon-duponey commented
#47 0.477 /build/golang-current/source/pkg/mod/github.com/darkweak/souin@v1.6.46/pkg/middleware/middleware.go:9:2: package maps is not in GOROOT (/build/golang-current/go/src/maps)
#47 0.477 /build/golang-current/source/pkg/mod/github.com/darkweak/souin@v1.6.46/pkg/rfc/vary.go:7:2: package slices is not in GOROOT (/build/golang-current/go/src/slices)
Looks like 678a1db introduced dependencies to the go lib that are only available starting with 1.21, but somehow did not update go.mod to reflect that (which still indicates go 1.19).
Hope I am not mistaken here.
Thanks!
darkweak commented
Hello @dubo-dubon-duponey I thought I updated the go.mod
, will be fixed in the next release.
darkweak commented
Done @dubo-dubon-duponey!