Versions in this module Expand all Collapse all v4 v4.41.0 Jun 24, 2021 Changes in this version + func CopyFile(dst string, src string) error + func ReadAsset(file string) ([]byte, error) + func ReadFile(path string) ([]byte, error) + func WriteFile(path string, payload []byte) error + type FileReaderFunc func(path string) (io.ReadCloser, error) + var NewFileReader FileReaderFunc = func(path string) (io.ReadCloser, error) { ... } + type FileSeekerFunc func(path string) (io.ReadSeekCloser, error) + var NewFileSeeker FileSeekerFunc = func(path string) (io.ReadSeekCloser, error) { ... } + type FileWriterFunc func(path string) (io.WriteCloser, error) + var NewFileWriter FileWriterFunc = func(path string) (io.WriteCloser, error) { ... }