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

Method WithHuman

esapi/api.get.go:335–339  ·  view source on GitHub ↗

WithHuman makes statistical values human-readable.

()

Source from the content-addressed store, hash-verified

333
334// WithHuman makes statistical values human-readable.
335func (f Get) WithHuman() func(*GetRequest) {
336 return func(r *GetRequest) {
337 r.Human = true
338 }
339}
340
341// WithErrorTrace includes the stack trace for errors in the response body.
342func (f Get) WithErrorTrace() func(*GetRequest) {

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected