Documentation
¶
Overview ¶
Package embed contains an implementation of http.FileSystem that stores the file data in itself. It also includes a tool for generating Go code that adds files from the operating system to the http.FileSystem implementation.
The following subpackages contain:
- filesystem - contains the implementation of http.FileSystem.
- cmd/embed - contains the tool that generates the filesystem inserts.
This package itself is used for documentation.
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
embed
Embed is a tool for creating filesystem entries by inserting file data as safely-quoted strings in the generated Go file.
|
Embed is a tool for creating filesystem entries by inserting file data as safely-quoted strings in the generated Go file. |
The filesystem package provides an http.FileSystem implementation that may contain file data not present in the host operating system.
|
The filesystem package provides an http.FileSystem implementation that may contain file data not present in the host operating system. |
Click to show internal directories.
Click to hide internal directories.