gin-contrib / gin-contrib/cache
Got "ambiguous import: found github.com/ugorji/go/codec in multiple modules"
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 456
- Forks
- 100
- Avg merge
- 2h 16m
- Merged PRs (30d)
- 2
Description
This defect is explained in these two issues:
- https://github.com/gin-gonic/gin/issues/1673
- https://github.com/golang/go/issues/29332#issuecomment-448669442
Gin has fixed it's module dep, but this cache middleware is still referencing the problem ugorji release tag. This forces anyone that wants to use go modules with this middleware to fork and fix the mods themselves.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the cache middleware's Go module dependency declarations and the referenced ugorji release. Reproduce the ambiguous-import error with Go modules, update the dependency reference, and verify that the middleware no longer requires a fork to build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100