govendor

package
v0.0.0-...-61829c1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdatePkg

func UpdatePkg(importPath string)

func UpdatePkgs

func UpdatePkgs(importPaths ...string)

Types

type Vendor

type Vendor struct {
	Comment  string          `json:"comment"`
	Ignore   string          `json:"ignore"`
	RootPath string          `json:"rootPath"`
	Package  []VendorPackage `json:"package"`
}

func LoadGoVendorJSON

func LoadGoVendorJSON(p string) (Vendor, error)

func (*Vendor) ListImportPath

func (v *Vendor) ListImportPath() []string

type VendorPackage

type VendorPackage struct {
	Path         string `json:"path"`
	Revision     string `json:"revision"`
	RevisionTime string `json:"revisionTime"`
	ChecksumSHA1 string `json:"checksumSHA1"`
}

Jump to

Keyboard shortcuts

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