Documentation
¶
Index ¶
Constants ¶
View Source
const ImportPath = "github.com/cssbruno/gowdk/addons/embed"
ImportPath is the canonical Go import path for the embed addon.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Assets ¶
type Assets struct {
FS http.FileSystem
}
Assets exposes embedded frontend artifacts through http.FileSystem.
func (Assets) FileServer ¶
FileServer returns an HTTP handler for embedded assets.
Click to show internal directories.
Click to hide internal directories.