Versions in this module Expand all Collapse all v2 v2.8.3 Jun 9, 2020 v2.8.2 Jun 9, 2020 Changes in this version + var DefaultResolver = defaultResolver() + func HexGzipString(s string) (string, error) + func Key(s string) string + func OsPath(s string) string + func ResolvePathInBase(base, path string) (string, error) + func String(r Resolver) string + func UnHexGzipString(packed string) (string, error) + type Disk struct + Root string + func (d *Disk) FileMap() map[string]file.File + func (d *Disk) Resolve(box string, name string) (file.File, error) + func (d Disk) String() string + type HexGzip struct + func NewHexGzip(files map[string]string) (*HexGzip, error) + func (hg *HexGzip) FileMap() map[string]file.File + func (hg *HexGzip) Resolve(box string, name string) (file.File, error) + func (hg HexGzip) String() string + type InMemory struct + func NewInMemory(files map[string]file.File) *InMemory + func (d *InMemory) FileMap() map[string]file.File + func (d *InMemory) Pack(name string, f file.File) error + func (d *InMemory) Resolve(box string, name string) (file.File, error) + func (d InMemory) String() string + type Packable interface + Pack func(name string, f file.File) error + type Resolver interface + Resolve func(string, string) (file.File, error)