Discover Packages
github.com/arya-sq/daiquiri
templates
package
Version:
v0.0.0-...-df959dd
Opens a new window with list of versions in this module.
Published: Mar 5, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Get returns a file system containing all templates via embed.FS
GetOS returns a file system containing all templates which will load the files directly from the operating system.
This should only be used for local development in order to faciliate live reloading.
const (
LayoutMain Layout = "main"
LayoutAuth Layout = "auth"
LayoutHTMX Layout = "htmx"
)
const (
PageAbout Page = "about"
PageContact Page = "contact"
PageError Page = "error"
PageForgotPassword Page = "forgot-password"
PageHome Page = "home"
PageLogin Page = "login"
PageSearch Page = "search"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.