diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-12 11:47:11 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-12 11:47:11 +0800 |
commit | 83f9f192b52020b7fecc8ff9ad3f976ea7485935 (patch) | |
tree | f0b55921102d4e099c513124736ccffeb9065da0 /resources.go | |
parent | git_misc.go: Merge types.go into here (diff) | |
download | forge-83f9f192b52020b7fecc8ff9ad3f976ea7485935.tar.gz forge-83f9f192b52020b7fecc8ff9ad3f976ea7485935.tar.zst forge-83f9f192b52020b7fecc8ff9ad3f976ea7485935.zip |
*.go: Reformat
Diffstat (limited to '')
-rw-r--r-- | resources.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources.go b/resources.go index bd5f37b..12acb8f 100644 --- a/resources.go +++ b/resources.go @@ -37,6 +37,7 @@ func load_templates() (err error) { } var static_handler http.Handler + func init() { static_fs, err := fs.Sub(resources_fs, "static") if err != nil { @@ -44,4 +45,3 @@ func init() { } static_handler = http.StripPrefix("/:/static/", http.FileServer(http.FS(static_fs))) } - |