diff options
| author | Shulhan <ms@kilabit.info> | 2020-02-14 11:59:22 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2020-02-14 11:59:22 +0700 |
| commit | 9c53b6f8b9d0e7596c658ce2d89fb2a71cf0ce62 (patch) | |
| tree | da271f8369b587cf958deecae3aa16557fee88b9 /server.go | |
| parent | 65eae15930afa51ed233f4b1e41ef241a845cc58 (diff) | |
| download | ciigo-9c53b6f8b9d0e7596c658ce2d89fb2a71cf0ce62.tar.xz | |
all: fix and suppress linter warnings
Diffstat (limited to 'server.go')
| -rw-r--r-- | server.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
