github.com/hori-ryota/glide@v0.0.0-20160621143827-dc7ca2fac035/gb/manifest.go (about) 1 // Package gb provides compatibility with GB manifests. 2 package gb 3 4 // This is lifted wholesale from GB's `vendor/manifest.go` file. 5 // 6 // gb's license is MIT-style. 7 8 // Manifest represents the GB manifest file 9 type Manifest struct { 10 Version int `json:"version"` 11 Dependencies []Dependency `json:"dependencies"` 12 } 13 14 // Dependency represents an individual dependency in the GB manifest file 15 type Dependency struct { 16 Importpath string `json:"importpath"` 17 Repository string `json:"repository"` 18 Revision string `json:"revision"` 19 Branch string `json:"branch"` 20 Path string `json:"path,omitempty"` 21 }