mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
fix lint issue
This commit is contained in:
parent
da84be2352
commit
1bbb1b4a10
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ func (c *Context) String(raw string, status ...int) {
|
|||
code = status[0]
|
||||
}
|
||||
c.RespWriter.WriteHeader(code)
|
||||
c.RespWriter.Write([]byte(raw))
|
||||
_, _ = c.RespWriter.Write([]byte(raw))
|
||||
}
|
||||
|
||||
func (c *Context) IsMethod(m string) bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue