Cleanup and documentation.
This commit is contained in:
parent
2004d6b139
commit
60a4a107ca
6 changed files with 93 additions and 151 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue