github.com/artisanhe/tools@v1.0.1-0.20210607022958-19a8fef2eb04/project/govendor/govendor_test.go (about) 1 package govendor 2 3 import ( 4 "fmt" 5 "testing" 6 ) 7 8 func TestLoadGoVendorJSON(t *testing.T) { 9 vendor, _ := LoadGoVendorJSON("../../vendor/vendor.json") 10 fmt.Printf("%#v", vendor.ListImportPath()) 11 }