MCPcopy Create free account
hub / github.com/devfeel/dotweb / showIntervalData

Function showIntervalData

dotweb_sysgroup.go:37–43  ·  view source on GitHub ↗
(ctx Context)

Source from the content-addressed store, hash-verified

35}
36
37func showIntervalData(ctx Context) error {
38 if ctx.Request().ExistsQueryKey("pretty") {
39 return showIntervalDataPretty(ctx)
40 } else {
41 return showIntervalDataJson(ctx)
42 }
43}
44
45func showIntervalDataJson(ctx Context) error {
46 type data struct {

Callers

nothing calls this directly

Calls 4

showIntervalDataPrettyFunction · 0.85
showIntervalDataJsonFunction · 0.85
ExistsQueryKeyMethod · 0.80
RequestMethod · 0.65

Tested by

no test coverage detected