1
2
3
4
5 package modconv
6
7 import "golang.org/x/mod/modfile"
8
9 var Converters = map[string]func(string, []byte) (*modfile.File, error){
10 "GLOCKFILE": ParseGLOCKFILE,
11 "Godeps/Godeps.json": ParseGodepsJSON,
12 "Gopkg.lock": ParseGopkgLock,
13 "dependencies.tsv": ParseDependenciesTSV,
14 "glide.lock": ParseGlideLock,
15 "vendor.conf": ParseVendorConf,
16 "vendor.yml": ParseVendorYML,
17 "vendor/manifest": ParseVendorManifest,
18 "vendor/vendor.json": ParseVendorJSON,
19 }
20
View as plain text