Skip to content

Commit feb31de

Browse files
committed
format with gofumpt
1 parent 35e7c9a commit feb31de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spa/fs.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,12 +562,11 @@ type fileHandler struct {
562562
// To use the operating system's file system implementation,
563563
// use http.Dir:
564564
//
565-
// http.Handle("/", http.FileServer(http.Dir("/tmp")))
565+
// http.Handle("/", http.FileServer(http.Dir("/tmp")))
566566
//
567567
// To use an fs.FS implementation, use http.FS to convert it:
568568
//
569569
// http.Handle("/", http.FileServer(http.FS(fsys)))
570-
//
571570
func FileServer(root http.FileSystem) http.Handler {
572571
return &fileHandler{root}
573572
}

0 commit comments

Comments
 (0)