MCPcopy
hub / github.com/elastic/go-elasticsearch / Foo

Struct Foo

esutil/json_reader_internal_test.go:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected