Documentation
¶
Overview ¶
fs provides the implementation of stringfs. In most cases the stringfs command can be used to generate the code that calls this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
Create converts a net/http FileSystem to a byte slice. If a logger is provided it is used to log informational messages.
func CreateString ¶
CreateString converts a net/http Filsystem into a string. If a logger is provided it is used to log informational messages.
func Must ¶
func Must(fs http.FileSystem, err error) http.FileSystem
Must is a helper function that can be used to wrap a call to New. It panics if the returned error is non-nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.