Versions in this module Expand all Collapse all v1 v1.15.1 Feb 17, 2020 v1.15.0 Feb 17, 2020 Changes in this version + var ReadOnlyError = errors.New("AssetPath is read-only") + func Asset(name string) ([]byte, error) + func AssetDir(name string) ([]string, error) + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func MustAsset(name string) []byte + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + type AssetPath struct + func NewAssetPath(location string) *AssetPath + func (p *AssetPath) Base() string + func (p *AssetPath) CreateFile(data io.ReadSeeker, acl vfs.ACL) error + func (p *AssetPath) Join(relativePath ...string) vfs.Path + func (p *AssetPath) Path() string + func (p *AssetPath) ReadDir() ([]vfs.Path, error) + func (p *AssetPath) ReadFile() ([]byte, error) + func (p *AssetPath) ReadTree() ([]vfs.Path, error) + func (p *AssetPath) Remove() error + func (p *AssetPath) String() string + func (p *AssetPath) WriteFile(data io.ReadSeeker, acl vfs.ACL) error + func (p *AssetPath) WriteTo(out io.Writer) (int64, error)