Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StaticFs embed.FS
Functions ¶
func GetStaticSHA256 ¶
func GetStaticSHA256() string
GetStaticSHA256 returns the SHA256 hash of all the files combined in the static directory.
func GetVersionedFilePath ¶
GetVersionedFilePath returns a versioned file path by appending a shortened SHA256 hash of the static filesystem to the query parameter.
The hash is truncated to the first 8 characters for brevity.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.