Skip to content

Commit 84cf99e

Browse files
committed
Remove usunused constant.
A "production" bool may be useful in some contexts, but it may also be too simple for more advanced uses. Since it's completely unused in this codebase, remove it to avoid clutter.
1 parent d8346f8 commit 84cf99e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

assets.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import (
99
"github.com/shurcooL/go/vfs/httpfs/union"
1010
)
1111

12-
const production = false
13-
1412
var assets = union.New(map[string]http.FileSystem{
1513
"/assets": gopherjs_http.NewFS(http.Dir("assets")),
1614
})

assets_prod.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33
//go:generate go run assets_gen.go assets.go
44

55
package main
6-
7-
const production = true

0 commit comments

Comments
 (0)