htmlquery | htmlquery is golang XPath package for HTML query | Parser library
kandi X-RAY | htmlquery Summary
kandi X-RAY | htmlquery Summary
htmlquery is an XPath query package for HTML, lets you extract data or evaluate from HTML documents by an XPath expression. htmlquery built-in the query object caching feature based on [LRU] this feature will caching the recently used XPATH query string. Enable query caching can avoid re-compile XPath expression each query.
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 htmlquery
htmlquery Key Features
htmlquery Examples and Code Snippets
Community Discussions
Trending Discussions on htmlquery
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 htmlquery
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