Documentation
¶
Overview ¶
Package static provides embedded static assets for the Omnom web application.
This package embeds CSS, JavaScript, images, icons, and other static files into the compiled binary using Go's embed directive. This allows Omnom to be distributed as a single executable with all assets included.
The embedded files include:
- CSS stylesheets (including compiled SCSS)
- JavaScript files
- Web fonts
- Icons and images
- Documentation files
User-generated content like snapshots and resources are NOT embedded and must be stored in a data directory specified in the configuration.
The FS variable is an embed.FS that can be used with http.FileServer or other file-serving mechanisms.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FS embed.FS
FS contains all embedded static assets.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.