Documentation ¶
Index ¶
Constants ¶
View Source
const ( // APIRelease is the format string for the metacpan release API APIRelease = "https://fastapi.metacpan.org/v1/release/%s" // APIDownloadURL is the format string for the metacpan download_url API APIDownloadURL = "https://fastapi.metacpan.org/v1/download_url/%s" )
Variables ¶
View Source
var SearchRegex = regexp.MustCompile("https?://*(?:/.*cpan.org)(?:/CPAN)?/authors/id/(.+)$")
SearchRegex is the regexp for "search.cpan.org"
Functions ¶
This section is empty.
Types ¶
type APIModule ¶ added in v1.1.0
type APIModule struct {
Module string `json:"main_module"`
}
APIModule holds the name of a Perl Module
type Provider ¶
type Provider struct{}
Provider is the upstream provider interface for CPAN
Click to show internal directories.
Click to hide internal directories.