Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinIfFirstNotEmpty ¶
JoinIfFirstNotEmpty only joins filepaths if the first element is not empty
Types ¶
type SearcherFilesystem ¶
type SearcherFilesystem []http.FileSystem
SearcherFilesystem is a http.Filesystem that looks through multiple http. Filesystems for a file returning the first one found
func NewLocalAndOtherSearcherFilesystem ¶
func NewLocalAndOtherSearcherFilesystem(basePath string, other ...http.FileSystem) SearcherFilesystem
NewLocalAndOtherSearcherFilesystem creates a SearcherFilesystem from a local basePath ( if not empty) and other http.FileSystems. The local fs will be the first one.
Click to show internal directories.
Click to hide internal directories.