Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct { ModsAndVersions []ModuleAndVersion `json:"modules"` NextPageToken string `json:"next,omitempty"` }
Catalog represents the JSON response from the /catalog endpoint
type ModuleAndVersion ¶
ModuleAndVersion holds the module and version in the path of a ?go-get=1 request, and a single entry in the response of the /catalog endpoint
func (ModuleAndVersion) Error ¶
func (m ModuleAndVersion) Error() string
Click to show internal directories.
Click to hide internal directories.