| 33 | const hex = "0123456789abcdef" |
| 34 | |
| 35 | type JsonStringWriter interface { |
| 36 | io.Writer |
| 37 | io.ByteWriter |
| 38 | stringWriter |
| 39 | } |
| 40 | |
| 41 | func WriteJsonString(buf JsonStringWriter, s string) { |
| 42 | WriteJson(buf, []byte(s)) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…