Documentation ¶
Index ¶
Constants ¶
View Source
const LockName = "Gopkg.lock"
LockName is the lock file name used by dep.
View Source
const ManifestName = "Gopkg.toml"
ManifestName is the manifest file name used by dep.
Variables ¶
View Source
var DepParser depParser
DepParser -
Functions ¶
This section is empty.
Types ¶
type Lock ¶
type Lock struct { SolveMeta Meta `toml:"solve-meta" json:"solve-meta"` Projects []LockedProject `toml:"projects" json:"projects"` }
The Lock struct from dep.
https://raw.githubusercontent.com/golang/dep/master/lock.go
Lock represents a Gopkg.lock file.
type LockedProject ¶
type LockedProject struct { Name string `toml:"name" json:"name"` Branch string `toml:"branch,omitempty" json:"branch,omitempty"` Revision string `toml:"revision" json:"revision"` Version string `toml:"version,omitempty" json:"version,omitempty"` Source string `toml:"source,omitempty" json:"source,omitempty"` Packages []string `toml:"packages" json:"packages"` PruneOpts string `toml:"pruneopts" json:"pruneopts"` Digest string `toml:"digest" json:"digest"` }
LockedProject -
type Manifest ¶
type Manifest struct { Constraints []Project `toml:"constraint,omitempty" json:"constraint,omitempty"` Overrides []Project `toml:"override,omitempty" json:"override,omitempty"` Ignored []string `toml:"ignored,omitempty" json:"ignored,omitempty"` Required []string `toml:"required,omitempty" json:"required,omitempty"` NoVerify []string `toml:"noverify,omitempty" json:"noverify,omitempty"` PruneOptions PruneOptions `toml:"prune,omitempty" json:"prune,omitempty"` }
The Manifest struct from dep.
https://raw.githubusercontent.com/golang/dep/master/manifest.go
Manifest represents a Gopkg.toml file.
type Meta ¶
type Meta struct { AnalyzerName string `toml:"analyzer-name" json:"analyzer-name"` AnalyzerVersion int `toml:"analyzer-version" json:"analyzer-version"` SolverName string `toml:"solver-name" json:"solver-name"` SolverVersion int `toml:"solver-version" json:"solver-version"` InputImports []string `toml:"input-imports" json:"input-imports"` }
Meta -
type Project ¶
type Project struct { Name string `toml:"name" json:"name"` Branch string `toml:"branch,omitempty" json:"branch,omitempty"` Revision string `toml:"revision,omitempty" json:"revision,omitempty"` Version string `toml:"version,omitempty" json:"version,omitempty"` Source string `toml:"source,omitempty" json:"source,omitempty"` }
Project -
type PruneOptions ¶
type PruneOptions struct { UnusedPackages bool `toml:"unused-packages,omitempty" json:"unused-packages,omitempty"` NonGoFiles bool `toml:"non-go,omitempty" json:"non-go,omitempty"` GoTests bool `toml:"go-tests,omitempty" json:"go-tests,omitempty"` //Projects []map[string]interface{} `toml:"project,omitempty"` Projects []map[string]interface{} }
PruneOptions -
Click to show internal directories.
Click to hide internal directories.