Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MirrorsFTP is the host to use as a GNU mirror MirrorsFTP = "mirrors.rit.edu:21" // GNUFormat is the format string for GNU sources GNUFormat = "https://mirrors.rit.edu/gnu/%s/%s" )
Variables ¶
View Source
var MirrorsRegex = regexp.MustCompile("(?:https?|ftp)://[^\\/]+/gnu/(.+)/[^\\/]+$")
MirrorsRegex is a regex for a GNU mirror source
View Source
var TarballRegex = regexp.MustCompile("^(.+)-(.+)\\.tar\\..+z$")
TarballRegex is a regex for finding tarball files
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.