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

Method Set

_examples/bulk/benchmarks/benchmarks.go:55–59  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

53
54func (b *humanBytes) String() string { return humanize.Bytes(uint64(*b)) }
55func (b *humanBytes) Set(v string) error {
56 n, err := humanize.ParseBytes(v)
57 *b = humanBytes(n)
58 return err
59}
60
61var (
62 indexName string

Callers 15

PerformMethod · 0.45
TestProductCheckErrorFunction · 0.45
TestFingerprintFunction · 0.45
TestContentTypeOverrideFunction · 0.45
RoundTripMethod · 0.45
ServeHTTPMethod · 0.45
HealthFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

humanBytesTypeAlias · 0.85