☰
Debian Codegraph
@
2.3.3-3
2.3.3-2
/
/
sarif
/
test_helpers.go
☽
☼
sarif/test_helpers.go
code
plain
raw
symbols
SCIP
public-domain
2020 Owen Rumney
debian/copyright
1
package
sarif
2
3
import "
encoding/json
"
4
5
func
getJsonString
(
value
interface{}) string {
6
j
,
err
:=
json
.
Marshal
(
value
)
7
if
err
!= nil {
8
panic(
err
)
9
}
10
return string(
j
)
11
}