| 29 | ) |
| 30 | |
| 31 | type Foo struct { |
| 32 | Bar string |
| 33 | } |
| 34 | |
| 35 | func (f Foo) EncodeJSON(w io.Writer) error { |
| 36 | _, err := w.Write([]byte(`{"bar":"` + strings.ToUpper(f.Bar) + `"}` + "\n")) |
nothing calls this directly
no outgoing calls
no test coverage detected