Documentation
¶
Overview ¶
templ: version: v0.3.977
Index ¶
- Constants
- Variables
- func AssetPath(ctx context.Context, path string) string
- func Base(title string, header string) templ.Component
- func Challenge(challenge string, difficulty int, nonce uint32, ts int64, signature string) templ.Component
- func Error(message string, description string, code string) templ.Component
- func GetBaseURL(ctx context.Context) string
- func GetLocale(ctx context.Context) string
- func GetMail(ctx context.Context) string
- func GetRequestID(ctx context.Context) string
- func GetVersion(ctx context.Context) string
- func T(key string, args ...any) templ.Component
- func UnsafeT(key string, args ...any) templ.Component
- type Asset
- type Manifest
Constants ¶
View Source
const ( BaseURLCtxKey contextKeyType = iota VersionCtxKey LocaleCtxKey ManifestCtxKey MailCtxKey )
Variables ¶
View Source
var Content embed.FS
Functions ¶
func GetBaseURL ¶
func GetRequestID ¶ added in v0.4.2
func GetVersion ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.