1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-11-01 08:03:01 +00:00

Fix comments in static/static.go

This commit is contained in:
handlerug
2021-06-23 22:46:04 +07:00
parent 190a1d6ba8
commit 9b610595bd

View File

@@ -34,7 +34,8 @@ func (f HybridFS) Open(name string) (fs.File, error) {
return nil, err
}
// InitFS initializes the global HybridFS singleton with the local wiki.
// InitFS initializes the global HybridFS singleton with the wiki's own static
// files directory as a primary filesystem and the embedded one as a fallback.
func InitFS(localPath string) {
FS = HybridFS{
fs: []fs.FS{