HasFlags returns true iff the given flags are set in the formatter context.
(f FmtFlags)
| 319 | |
| 320 | // HasFlags returns true iff the given flags are set in the formatter context. |
| 321 | func (ctx *FmtCtx) HasFlags(f FmtFlags) bool { |
| 322 | return ctx.flags.HasFlags(f) |
| 323 | } |
| 324 | |
| 325 | // Printf calls fmt.Fprintf on the linked bytes.Buffer. It is provided |
| 326 | // for convenience, to avoid having to call fmt.Fprintf(&ctx.Buffer, ...). |
no outgoing calls
no test coverage detected