NotFoundOrErrorf is same as NotFoundOrError but with formatted message.
(err error, format string, args ...any)
| 191 | |
| 192 | // NotFoundOrErrorf is same as NotFoundOrError but with formatted message. |
| 193 | func (c *Context) NotFoundOrErrorf(err error, format string, args ...any) { |
| 194 | c.NotFoundOrError(err, fmt.Sprintf(format, args...)) |
| 195 | } |
| 196 | |
| 197 | func (c *Context) PlainText(status int, msg string) { |
| 198 | c.Render.PlainText(status, []byte(msg)) |
nothing calls this directly
no test coverage detected