Documentation
¶
Index ¶
- func CopyFile(dst string, src string) error
- func OpenAsset(file string) (io.ReadCloser, error)
- func ReadAsset(file string) ([]byte, error)
- func ReadCert(file string) ([]byte, error)
- func ReadFile(path string) ([]byte, error)
- func ResolveAsset(file string) (string, error)
- func StatAsset(file string) (os.FileInfo, error)
- type FileReaderFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveAsset ¶
Types ¶
type FileReaderFunc ¶
type FileReaderFunc func(path string) (io.ReadCloser, error)
var NewFileReader FileReaderFunc = func(path string) (io.ReadCloser, error) { return os.Open(path) }
Click to show internal directories.
Click to hide internal directories.