godep

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: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GodepParser godepParser

GodepParser -

Functions

This section is empty.

Types

type Dependency

type Dependency struct {
	ImportPath string `json:"ImportPath"`
	Comment    string `json:"Comment,omitempty"` // Description of commit, if present.
	Rev        string `json:"Rev"`               // VCS-specific commit ID.
}

The Dependency struct from godep.

https://raw.githubusercontent.com/tools/godep/master/dep.go

A Dependency is a specific revision of a package.

type Godeps

type Godeps struct {
	ImportPath   string       `json:"ImportPath"`
	GoVersion    string       `json:"GoVersion"`
	GodepVersion string       `json:"GodepVersion"`
	Packages     []string     `json:"Packages,omitempty"` // Arguments to save, if any.
	Deps         []Dependency `json:"Deps"`
}

The Godeps struct from godep.

https://raw.githubusercontent.com/tools/godep/master/godepfile.go

Godeps describes what a package needs to be rebuilt reproducibly. It's the same information stored in file Godeps.

func (*Godeps) Repos

func (g *Godeps) Repos() []string

Repos -

Jump to

Keyboard shortcuts

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