FmtLocation modifies FmtCtx to contain the correct location.
(loc *time.Location)
| 380 | |
| 381 | // FmtLocation modifies FmtCtx to contain the correct location. |
| 382 | func FmtLocation(loc *time.Location) FmtCtxOption { |
| 383 | return func(ctx *FmtCtx) { |
| 384 | ctx.location = loc |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | // NewFmtCtx creates a FmtCtx; only flags that don't require Annotations |
| 389 | // can be used. |
no outgoing calls
no test coverage detected
searching dependent graphs…