Documentation
¶
Index ¶
- Constants
- Variables
- func ParseDependenciesTSV(file string, data []byte) ([]module.Version, error)
- func ParseGLOCKFILE(file string, data []byte) ([]module.Version, error)
- func ParseGlideLock(file string, data []byte) ([]module.Version, error)
- func ParseGodepsJSON(file string, data []byte) ([]module.Version, error)
- func ParseGopkgLock(file string, data []byte) ([]module.Version, error)
- func ParseVendorConf(file string, data []byte) ([]module.Version, error)
- func ParseVendorJSON(file string, data []byte) ([]module.Version, error)
- func ParseVendorManifest(file string, data []byte) ([]module.Version, error)
- func ParseVendorYML(file string, data []byte) ([]module.Version, error)
Constants ¶
View Source
const Prefix = "//vgo 0.0.4\n"
Prefix is a line we write at the top of auto-converted go.mod files for dependencies before caching them. In case of bugs in the converter, if we bump this version number, then all the cached copies will be ignored.
Variables ¶
View Source
var Converters = map[string]func(string, []byte) ([]module.Version, error){ "GLOCKFILE": ParseGLOCKFILE, "Godeps/Godeps.json": ParseGodepsJSON, "Gopkg.lock": ParseGopkgLock, "dependencies.tsv": ParseDependenciesTSV, "glide.lock": ParseGlideLock, "vendor.conf": ParseVendorConf, "vendor.yml": ParseVendorYML, "vendor/manifest": ParseVendorManifest, "vendor/vendor.json": ParseVendorJSON, }
Functions ¶
func ParseDependenciesTSV ¶
func ParseVendorManifest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.