Versions in this module Expand all Collapse all v1 v1.0.1 May 9, 2020 Changes in this version type AssetFS + Fallback string v1.0.0 Feb 27, 2017 Changes in this version + type AssetDirectory struct + Children []os.FileInfo + ChildrenRead int + func NewAssetDirectory(name string, children []string, fs *AssetFS) *AssetDirectory + func (f *AssetDirectory) Readdir(count int) ([]os.FileInfo, error) + func (f *AssetDirectory) Stat() (os.FileInfo, error) + type AssetFS struct + Asset func(path string) ([]byte, error) + AssetDir func(path string) ([]string, error) + AssetInfo func(path string) (os.FileInfo, error) + Prefix string + func (fs *AssetFS) Open(name string) (http.File, error) + type AssetFile struct + func NewAssetFile(name string, content []byte, timestamp time.Time) *AssetFile + func (f *AssetFile) Readdir(count int) ([]os.FileInfo, error) + func (f *AssetFile) Size() int64 + func (f *AssetFile) Stat() (os.FileInfo, error) + type FakeFile struct + Dir bool + Len int64 + Path string + Timestamp time.Time + func (f *FakeFile) IsDir() bool + func (f *FakeFile) ModTime() time.Time + func (f *FakeFile) Mode() os.FileMode + func (f *FakeFile) Name() string + func (f *FakeFile) Size() int64 + func (f *FakeFile) Sys() interface{}