Documentation
¶
Overview ¶
Package depsdev queries deps.dev for registry metadata: when a version was published (fresh-release detection) and whether it is deprecated.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BatchURL = "https://api.deps.dev/v3alpha/versionbatch"
BatchURL is a var so tests can point it at a fake server.
View Source
var Now = time.Now
Now is a var so tests can pin the clock.
View Source
var SingleRequests = false
SingleRequests switches Annotate from the versionbatch endpoint to one GET per version. The browser (wasm) build sets it: versionbatch does not answer CORS preflight requests, but the GET endpoints are CORS-simple.
View Source
var SingleURL = "https://api.deps.dev/v3alpha"
SingleURL is the base for per-version GET lookups (see SingleRequests).
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.