☰
Debian Codegraph
@
0.0.6+dfsg-2
/
/
api
/
v1
/
cmd
/
example-executor
/
debug.go
☽
☼
api/v1/cmd/example-executor/debug.go
code
plain
raw
symbols
SCIP
Apache-2.0
2013-2019 Mesosphere, Inc.; 2013 The Camlistore Authors
debian/copyright
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
}