{"modulePath":"github.com/TechCatsLab/github-detector","version":"v0.0.0-20181008040219-160fd4699714","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package glide\n\n## Variables\n\n```go\nvar GlidePraser glideParser\n```\nGlidePraser -\n\n## Types\n\n```go\ntype Config struct {\n\n\t// Name is the name of the package or application.\n\tName string `yaml:\"package\"`\n\n\t// Description is a short description for a package, application, or library.\n\t// This description is similar but different to a Go package description as\n\t// it is for marketing and presentation purposes rather than technical ones.\n\tDescription string `json:\"description,omitempty\"`\n\n\t// Home is a url to a website for the package.\n\tHome string `yaml:\"homepage,omitempty\"`\n\n\t// License provides either a SPDX license or a path to a file containing\n\t// the license. For more information on SPDX see http://spdx.org/licenses/.\n\t// When more than one license an SPDX expression can be used.\n\tLicense string `yaml:\"license,omitempty\"`\n\n\t// Owners is an array of owners for a project. See the Owner type for\n\t// more detail. These can be one or more people, companies, or other\n\t// organizations.\n\tOwners Owners `yaml:\"owners,omitempty\"`\n\n\t// Ignore contains a list of packages to ignore fetching. This is useful\n\t// when walking the package tree (including packages of packages) to list\n\t// those to skip.\n\tIgnore []string `yaml:\"ignore,omitempty\"`\n\n\t// Exclude contains a list of directories in the local application to\n\t// exclude from scanning for dependencies.\n\tExclude []string `yaml:\"excludeDirs,omitempty\"`\n\n\t// Imports contains a list of all non-development imports for a project. For\n\t// more detail on how these are captured see the Dependency type.\n\tImports Dependencies `yaml:\"import\"`\n\n\t// DevImports contains the test or other development imports for a project.\n\t// See the Dependency type for more details on how this is recorded.\n\tDevImports Dependencies `yaml:\"testImport,omitempty\"`\n}\n```\nThe Config struct from glide.\n\n[https://raw.githubusercontent.com/Masterminds/glide/master/cfg/config.go](https://raw.githubusercontent.com/Masterminds/glide/master/cfg/config.go)\n\nConfig is the top-level configuration object.\n\n```go\nfunc (c *Config) Deps() []string\n```\nDeps -\n\n```go\ntype Dependencies []*Dependency\n```\nDependencies is a collection of Dependency\n\n```go\ntype Dependency struct {\n\tName        string   `yaml:\"package\"`\n\tReference   string   `yaml:\"version,omitempty\"`\n\tPin         string   `yaml:\"-\"`\n\tRepository  string   `yaml:\"repo,omitempty\"`\n\tVcsType     string   `yaml:\"vcs,omitempty\"`\n\tSubpackages []string `yaml:\"subpackages,omitempty\"`\n\tArch        []string `yaml:\"arch,omitempty\"`\n\tOs          []string `yaml:\"os,omitempty\"`\n}\n```\nDependency describes a package that the present package depends upon.\n\n```go\ntype Lock struct {\n\tName        string   `yaml:\"name\"`\n\tVersion     string   `yaml:\"version\"`\n\tRepository  string   `yaml:\"repo,omitempty\"`\n\tVcsType     string   `yaml:\"vcs,omitempty\"`\n\tSubpackages []string `yaml:\"subpackages,omitempty\"`\n\tArch        []string `yaml:\"arch,omitempty\"`\n\tOs          []string `yaml:\"os,omitempty\"`\n}\n```\nLock represents an individual locked dependency.\n\n```go\ntype Lockfile struct {\n\tHash       string    `yaml:\"hash\"`\n\tUpdated    time.Time `yaml:\"updated\"`\n\tImports    Locks     `yaml:\"imports\"`\n\tDevImports Locks     `yaml:\"testImports\"`\n}\n```\nThe Lockfile struct from glide.\n\n[https://raw.githubusercontent.com/Masterminds/glide/master/cfg/lock.go](https://raw.githubusercontent.com/Masterminds/glide/master/cfg/lock.go)\n\nLockfile represents a glide.lock file.\n\n```go\nfunc (l *Lockfile) Repos() []string\n```\nRepos -\n\n```go\ntype Locks []*Lock\n```\nLocks is a slice of locked dependencies.\n\n```go\ntype Owner struct {\n\n\t// Name describes the name of an organization.\n\tName string `yaml:\"name,omitempty\"`\n\n\t// Email is an email address to reach the owner at.\n\tEmail string `yaml:\"email,omitempty\"`\n\n\t// Home is a url to a website for the owner.\n\tHome string `yaml:\"homepage,omitempty\"`\n}\n```\nOwner describes an owner of a package. This can be a person, company, or other organization. This is useful if someone needs to contact the owner of a package to address things like a security issue.\n\n```go\ntype Owners []*Owner\n```\nOwners is a list of owners for a project.\n\n","path":"github.com/TechCatsLab/github-detector/pkg/codec/glide","name":"glide","synopsis":"","isRedistributable":true}
