govendor

package
v0.0.0-...-160fd46 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: MIT Imports: 3 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const Name = "vendor.json"

Name of the vendor file.

Variables

View Source
var GovendorParser govendorParser

GovendorParser -

Functions

This section is empty.

Types

type File

type File struct {
	RootPath string `json:"rootPath"` // Import path of vendor folder

	Comment string `json:"comment"`

	Ignore string `json:"ignore"`

	Package []*Package `json:"package"`
}

The File struct from govendor.

https://raw.githubusercontent.com/kardianos/govendor/master/vendorfile/file.go

File is the structure of the vendor file.

func (*File) Repos

func (f *File) Repos() []string

Repos -

type Package

type Package struct {
	// See the vendor spec for definitions.
	Origin       string `json:"origin,omitempty"`
	Path         string `json:"path"`
	Tree         bool   `json:"tree,omitempty"`
	Revision     string `json:"revision"`
	RevisionTime string `json:"revisionTime"`
	Version      string `json:"version,omitempty"`
	VersionExact string `json:"versionExact,omitempty"`
	ChecksumSHA1 string `json:"checksumSHA1"`
	Comment      string `json:"comment,omitempty"`

	ImportPath string `json:"importpath,omitempty"`
}

Package represents each package.

Jump to

Keyboard shortcuts

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