{"modulePath":"github.com/TechCatsLab/github-detector","version":"v0.0.0-20181008040219-160fd4699714","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package dep\n\n## Constants\n\n```go\nconst LockName = \"Gopkg.lock\"\n```\nLockName is the lock file name used by dep.\n\n```go\nconst ManifestName = \"Gopkg.toml\"\n```\nManifestName is the manifest file name used by dep.\n\n## Variables\n\n```go\nvar DepParser depParser\n```\nDepParser -\n\n## Types\n\n```go\ntype Lock struct {\n\tSolveMeta Meta            `toml:\"solve-meta\" json:\"solve-meta\"`\n\tProjects  []LockedProject `toml:\"projects\" json:\"projects\"`\n}\n```\nThe Lock struct from dep.\n\n[https://raw.githubusercontent.com/golang/dep/master/lock.go](https://raw.githubusercontent.com/golang/dep/master/lock.go)\n\nLock represents a Gopkg.lock file.\n\n```go\nfunc (l *Lock) Repos() []string\n```\nRepos -\n\n```go\ntype LockedProject struct {\n\tName      string   `toml:\"name\" json:\"name\"`\n\tBranch    string   `toml:\"branch,omitempty\" json:\"branch,omitempty\"`\n\tRevision  string   `toml:\"revision\" json:\"revision\"`\n\tVersion   string   `toml:\"version,omitempty\" json:\"version,omitempty\"`\n\tSource    string   `toml:\"source,omitempty\" json:\"source,omitempty\"`\n\tPackages  []string `toml:\"packages\" json:\"packages\"`\n\tPruneOpts string   `toml:\"pruneopts\" json:\"pruneopts\"`\n\tDigest    string   `toml:\"digest\" json:\"digest\"`\n}\n```\nLockedProject -\n\n```go\ntype Manifest struct {\n\tConstraints  []Project    `toml:\"constraint,omitempty\" json:\"constraint,omitempty\"`\n\tOverrides    []Project    `toml:\"override,omitempty\" json:\"override,omitempty\"`\n\tIgnored      []string     `toml:\"ignored,omitempty\" json:\"ignored,omitempty\"`\n\tRequired     []string     `toml:\"required,omitempty\" json:\"required,omitempty\"`\n\tNoVerify     []string     `toml:\"noverify,omitempty\" json:\"noverify,omitempty\"`\n\tPruneOptions PruneOptions `toml:\"prune,omitempty\" json:\"prune,omitempty\"`\n}\n```\nThe Manifest struct from dep.\n\n[https://raw.githubusercontent.com/golang/dep/master/manifest.go](https://raw.githubusercontent.com/golang/dep/master/manifest.go)\n\nManifest represents a Gopkg.toml file.\n\n```go\nfunc (m *Manifest) Deps() []string\n```\nDeps -\n\n```go\ntype Meta struct {\n\tAnalyzerName    string   `toml:\"analyzer-name\" json:\"analyzer-name\"`\n\tAnalyzerVersion int      `toml:\"analyzer-version\" json:\"analyzer-version\"`\n\tSolverName      string   `toml:\"solver-name\" json:\"solver-name\"`\n\tSolverVersion   int      `toml:\"solver-version\" json:\"solver-version\"`\n\tInputImports    []string `toml:\"input-imports\" json:\"input-imports\"`\n}\n```\nMeta -\n\n```go\ntype Project struct {\n\tName     string `toml:\"name\" json:\"name\"`\n\tBranch   string `toml:\"branch,omitempty\" json:\"branch,omitempty\"`\n\tRevision string `toml:\"revision,omitempty\" json:\"revision,omitempty\"`\n\tVersion  string `toml:\"version,omitempty\" json:\"version,omitempty\"`\n\tSource   string `toml:\"source,omitempty\" json:\"source,omitempty\"`\n}\n```\nProject -\n\n```go\ntype PruneOptions struct {\n\tUnusedPackages bool `toml:\"unused-packages,omitempty\" json:\"unused-packages,omitempty\"`\n\tNonGoFiles     bool `toml:\"non-go,omitempty\" json:\"non-go,omitempty\"`\n\tGoTests        bool `toml:\"go-tests,omitempty\" json:\"go-tests,omitempty\"`\n\n\t//Projects []map[string]interface{} `toml:\"project,omitempty\"`\n\tProjects []map[string]interface{}\n}\n```\nPruneOptions -\n\n","path":"github.com/TechCatsLab/github-detector/pkg/codec/dep","name":"dep","synopsis":"","isRedistributable":true}
