diff options
| author | Runxi Yu <me@runxiyu.org> | 2025-03-31 10:52:06 +0800 |
|---|---|---|
| committer | Runxi Yu <me@runxiyu.org> | 2025-03-31 10:52:06 +0800 |
| commit | 7fc1f4cf22be75d588f74f9c4c3d3a531e840445 (patch) | |
| tree | 4f709b702097cd718f54f28f53e7be0eee71437f | |
| parent | Update .golangci.yaml to v2 (diff) | |
| download | forge-7fc1f4cf22be75d588f74f9c4c3d3a531e840445.tar.gz forge-7fc1f4cf22be75d588f74f9c4c3d3a531e840445.tar.zst forge-7fc1f4cf22be75d588f74f9c4c3d3a531e840445.zip | |
Reformat
| -rw-r--r-- | resources.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/resources.go b/resources.go index 995fb2e..54ff752 100644 --- a/resources.go +++ b/resources.go @@ -77,8 +77,10 @@ func loadTemplates() (err error) { return err } -var staticHandler http.Handler -var manHandler http.Handler +var ( + staticHandler http.Handler + manHandler http.Handler +) func init() { staticFS, err := fs.Sub(resourcesFS, "static") |
