Documentation
¶
Overview ¶
Package asset provides an embedded filesystem that serves client-side CSS and JS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // FS is the default filesystem for the server's assets. //go:embed index.js index.css FS embed.FS // FileServer handles asset requests. FileServer = http.FileServer(http.FS(FS)) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.