FmtDataConversionConfig modifies FmtCtx to contain items relevant for the given DataConversionConfig.
(dcc sessiondatapb.DataConversionConfig)
| 373 | // FmtDataConversionConfig modifies FmtCtx to contain items relevant for the |
| 374 | // given DataConversionConfig. |
| 375 | func FmtDataConversionConfig(dcc sessiondatapb.DataConversionConfig) FmtCtxOption { |
| 376 | return func(ctx *FmtCtx) { |
| 377 | ctx.dataConversionConfig = dcc |
| 378 | } |
| 379 | } |
| 380 | |
| 381 | // FmtLocation modifies FmtCtx to contain the correct location. |
| 382 | func FmtLocation(loc *time.Location) FmtCtxOption { |
no outgoing calls
no test coverage detected
searching dependent graphs…