groupcache | Clone of golang/groupcache with TTL and Item Removal support | Caching library
kandi X-RAY | groupcache Summary
kandi X-RAY | groupcache Summary
groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases. For API docs and examples, see
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of groupcache
groupcache Key Features
groupcache Examples and Code Snippets
Community Discussions
Trending Discussions on groupcache
QUESTION
I am running go build
to get my go.mod
file updated with library I am using "github.com/gocolly/colly v1.2.0" But I see all other dependencies saying "// indirect" at end.
How to avoid getting this?
Here is my go.mod file
ANSWER
Answered 2020-Apr-09 at 08:24Unfortunately, you can't avoid them. Indirect dependency, is basically dependency that wasn't listed in go.mod
of your direct dependency, but is still required by it.
In your case it happens, because you use github.com/gocolly/colly v1.2.0
as dependency and v1.2.0
of this package isn't a module, because it doesn't contain go.mod
, so all it's dependencies are indirect and listed in your go.mod
with indirect
tag.
Note, that colly
has go.mod
in >=v2.0.0, so if you require that version, these dependencies won't be listed as indirect in your go.mod
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install groupcache
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page