Updates elazarl/go-bindata-assetfs.

This commit is contained in:
James Phillips 2016-08-09 16:36:07 -07:00
parent 0ed936e5e6
commit 23633f7241
No known key found for this signature in database
GPG key ID: 77183E682AC5FC11
2 changed files with 10 additions and 3 deletions

View file

@ -82,8 +82,11 @@ func assetFS() http.FileSystem {
} else { } else {
fmt.Fprintln(out, ` fmt.Fprintln(out, `
func assetFS() *assetfs.AssetFS { func assetFS() *assetfs.AssetFS {
assetInfo := func(path string) (os.FileInfo, error) {
return os.Stat(path)
}
for k := range _bintree.Children { for k := range _bintree.Children {
return &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: AssetInfo, Prefix: k} return &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: assetInfo, Prefix: k}
} }
panic("unreachable") panic("unreachable")
}`) }`)

8
vendor/vendor.json vendored
View file

@ -84,12 +84,16 @@
"revisionTime": "2016-05-26T04:38:13Z" "revisionTime": "2016-05-26T04:38:13Z"
}, },
{ {
"checksumSHA1": "5ftkjfUwI9A6xCQ1PwIAd5+qlo0=",
"path": "github.com/elazarl/go-bindata-assetfs", "path": "github.com/elazarl/go-bindata-assetfs",
"revision": "57eb5e1fc594ad4b0b1dbea7b286d299e0cb43c2" "revision": "e1a2a7ec64b07d04ac9ebb072404fe8b7b60de1b",
"revisionTime": "2016-08-03T19:23:04Z"
}, },
{ {
"checksumSHA1": "CaThXbumVxZtNlItiXma5B78PwQ=",
"path": "github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs", "path": "github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs",
"revision": "57eb5e1fc594ad4b0b1dbea7b286d299e0cb43c2" "revision": "e1a2a7ec64b07d04ac9ebb072404fe8b7b60de1b",
"revisionTime": "2016-08-03T19:23:04Z"
}, },
{ {
"path": "github.com/fsouza/go-dockerclient", "path": "github.com/fsouza/go-dockerclient",