(ctx Context)
| 35 | } |
| 36 | |
| 37 | func showIntervalData(ctx Context) error { |
| 38 | if ctx.Request().ExistsQueryKey("pretty") { |
| 39 | return showIntervalDataPretty(ctx) |
| 40 | } else { |
| 41 | return showIntervalDataJson(ctx) |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | func showIntervalDataJson(ctx Context) error { |
| 46 | type data struct { |
nothing calls this directly
no test coverage detected