didip / tollbooth_chi

Tollbooth - Chi integration layer
13 stars 7 forks source link

update import to use v5 #4

Closed razor-1 closed 4 years ago

paskal commented 4 years ago

@didip would you be so kind as to look into it? It would be very useful for this repo to start working with the latest tollbooth version in the go-modules environment. Having it in some separate branch but properly tagged would work as well I think: it can become v5.0.0 itself as well and get a prefix.

paskal commented 4 years ago

I've tried to create go.mod with replace github.com/didip/tollbooth => github.com/didip/tollbooth/v5 v5.1.1 inside it but found that it wouldn't work at least in go 1.14 I'm using because of https://github.com/golang/go/issues/26904.