web-ridge / gqlgen-sqlboiler

This is a plugin for gqlgen to generate converts + filter queries and resolvers for sqlboiler
MIT License
75 stars 13 forks source link

Unknown revision github.com/gertd/go-pluralize@v0.1.4 #11

Closed troian closed 4 years ago

troian commented 4 years ago

It looks like there is a typo in go.mod as v0.1.2 is the latest published version of github.com/gertd/go-pluralize

RichardLindhout commented 4 years ago

Wutt, looking into it 👍

I've been fighting with go modules quite a bit lately but nothing with go-pluralize.

RichardLindhout commented 4 years ago

When I run go mod tidy it just sets go-pluralize 0.1.4 there. I don't know where it comes from.

RichardLindhout commented 4 years ago

https://pkg.go.dev/github.com/gertd/go-pluralize@v0.1.4?tab=doc

Go mod seems to keep a cache to this website which is really really annoying. It also keeps references to an old version to this library so I decided to move all my files to the root instead of folders to fix that.

RichardLindhout commented 4 years ago

So if a library maintainer add a library 1 time it will be cached forever and we can't control the website.

Schermafbeelding 2020-05-07 om 21 11 28

RichardLindhout commented 4 years ago

I think that the repository history has been rewritten or something like that based on the https://github.com/gertd/go-pluralize/issues/8 issue.

@gertd Maybe the library should be changed to 0.1.4 to fix this issue because the pgk.go.dev website will keep this version forever.

RichardLindhout commented 4 years ago

I did have the same problem with https://pkg.go.dev/mod/github.com/web-ridge/gqlgen-sqlboiler/boiler@v0.0.0-20200424102639-0c95b5d41c2c. I can not refresh the website or something it's really really annoying.

RichardLindhout commented 4 years ago

I've posted a question about this on Stackoverflow too since I have a lot of issues with gomodules: https://stackoverflow.com/questions/61666341/disable-go-modules-caching-via-pkg-go-dev.

RichardLindhout commented 4 years ago

@troian Going to v2.0.2 should fix this issue!

troian commented 4 years ago

Cheers

RichardLindhout commented 4 years ago

Let me know if I can close this issue!

troian commented 4 years ago

With fork it is good now