Reformat source with go-fmt

git-svn-id: file:///srv/svn/repo/marisa/trunk@63 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
dev 2022-11-28 09:47:47 +00:00
parent 0971e954a6
commit e3f3d3f376

View File

@ -40,7 +40,7 @@ var conf struct {
user string user string
group string group string
chroot string chroot string
listen string listen string
baseuri string baseuri string
rootdir string rootdir string
tmplpath string tmplpath string
@ -214,7 +214,7 @@ func uploaderPost(w http.ResponseWriter, r *http.Request) {
case "html": case "html":
data := templatedata{ data := templatedata{
Maxsize: humanize.IBytes(uint64(conf.maxsize)), Maxsize: humanize.IBytes(uint64(conf.maxsize)),
Links: links, Links: links,
} }
servetemplate(w, "/index.html", data) servetemplate(w, "/index.html", data)
case "json": case "json":