resp

package
v0.0.0-...-77603db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2019 License: MIT Imports: 1 Imported by: 3

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

type ModuleAndVersion struct {
	Module  string `json:"module"`
	Version string `json:"version"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL