MCPcopy Create free account
hub / github.com/olivere/elastic / Pretty

Method Pretty

script_get.go:42–45  ·  view source on GitHub ↗

Pretty tells Elasticsearch whether to return a formatted JSON response.

(pretty bool)

Source from the content-addressed store, hash-verified

40
41// Pretty tells Elasticsearch whether to return a formatted JSON response.
42func (s *GetScriptService) Pretty(pretty bool) *GetScriptService {
43 s.pretty = &pretty
44 return s
45}
46
47// Human specifies whether human readable values should be returned in
48// the JSON response, e.g. "7.5mb".

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected