Cleanup and documentation.

This commit is contained in:
mikestefanello 2024-06-22 09:43:24 -04:00
parent 2004d6b139
commit 60a4a107ca
6 changed files with 93 additions and 151 deletions

View file

@ -43,7 +43,7 @@ func Get() 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.
// This should only be used for local development in order to facilitate live reloading.
func GetOS() fs.FS {
// Gets the complete templates directory path
// This is needed in case this is called from a package outside of main, such as within tests