1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-05 02:29:54 +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
No known key found for this signature in database
GPG Key ID: 38009F0605051491

View File

@ -34,7 +34,8 @@ func (f HybridFS) Open(name string) (fs.File, error) {
return nil, err 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) { func InitFS(localPath string) {
FS = HybridFS{ FS = HybridFS{
fs: []fs.FS{ fs: []fs.FS{