Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileReaderFunc ¶
type FileReaderFunc func(path string) (io.ReadCloser, error)
var NewFileReader FileReaderFunc = func(path string) (io.ReadCloser, error) { resolved_path, err := filepath.EvalSymlinks(path) if err != nil { return nil, err } return os.Open(resolved_path) }
Click to show internal directories.
Click to hide internal directories.