aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2020-02-14 11:59:22 +0700
committerShulhan <ms@kilabit.info>2020-02-14 11:59:22 +0700
commit9c53b6f8b9d0e7596c658ce2d89fb2a71cf0ce62 (patch)
treeda271f8369b587cf958deecae3aa16557fee88b9 /server.go
parent65eae15930afa51ed233f4b1e41ef241a845cc58 (diff)
downloadciigo-9c53b6f8b9d0e7596c658ce2d89fb2a71cf0ce62.tar.xz
all: fix and suppress linter warnings
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index 19ca055..14a0722 100644
--- a/server.go
+++ b/server.go
@@ -240,7 +240,7 @@ func (srv *Server) onSearch(res http.ResponseWriter, req *http.Request, reqBody
}
fhtml := &fileHTML{
- Body: template.HTML(bufSearch.String()),
+ Body: template.HTML(bufSearch.String()), //nolint: gosec
}
err = srv.htmlg.tmpl.Execute(&buf, fhtml)