Skip to content
Myr

Fixed typo in documentation (#2733)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Don2Quixote · committed by GitHub · parent f07a4f8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:fs.go+1 added-1 removed
15 unmodified lines
16type neuteredReaddirFile struct {17 http.File18}1920// Dir returns a http.Filesystem that can be used by http.FileServer(). It is used internally20// Dir returns a http.FileSystem that can be used by http.FileServer(). It is used internally21// in router.Static().22// if listDirectory == true, then it works the same as http.Dir() otherwise it returns23// a filesystem that prevents http.FileServer() to list the directory files.24func Dir(root string, listDirectory bool) http.FileSystem {
21 unmodified lines