Versions in this module Expand all Collapse all v0 v0.0.8 Mar 9, 2022 v0.0.7 Mar 8, 2022 v0.0.6 Mar 4, 2022 v0.0.5 Feb 13, 2022 v0.0.4 Feb 4, 2022 v0.0.3 Jan 28, 2022 Changes in this version + func Translate(c *Config) error + type Asset struct + Func string + Name string + Path string + 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) + Fallback string + 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 ByName []os.FileInfo + func (v ByName) Len() int + func (v ByName) Less(i, j int) bool + func (v ByName) Swap(i, j int) + type ByteWriter struct + func (w *ByteWriter) Write(p []byte) (n int, err error) + type Config struct + Debug bool + Dev bool + HttpFileSystem bool + Ignore []*regexp.Regexp + Input []InputConfig + ModTime int64 + Mode uint + NoCompress bool + NoMemCopy bool + NoMetadata bool + Output string + Package string + Prefix string + Tags string + func NewConfig() *Config + 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{} + type InputConfig struct + Path string + Recursive bool + type StringWriter struct + func (w *StringWriter) Write(p []byte) (n int, err error)