Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
Return true if the error represents a NotFound error
func MustAbs ¶
MustAbs ensure that the given file is present in the system, if the file can't be found, this will call panic giving the reason
func Open ¶
func Open(file string) (io.ReadCloser, error)
Open the file for reading or returns an error
For more information, see the FS type
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
func FromDirs ¶
FromDirs return a new filesystem that searchs for the request file on the specified dirs
This make a copy of the input array
func UnitedFS ¶
func UnitedFS() *FS
Create a FS which is the combination of the GopathFS and the current folder note that the current folder don't require the "src" sub-folder
Click to show internal directories.
Click to hide internal directories.