Debian Codegraph @

api/v1/cmd/example-executor/debug.go

raw symbols SCIP
1 package main
2
3 const debug = false
4
5 type marshalJSON interface {
6 MarshalJSON() ([]byte, error)
7 }
8
9 func debugJSON(mk marshalJSON) {
10 if debug {
11 b, err := mk.MarshalJSON()
12 if err == nil {
13 println(string(b))
14 }
15 }
16 }