MCPcopy
hub / github.com/grpc/grpc-go / String

Method String

benchmark/flags/flags.go:94–103  ·  view source on GitHub ↗

String implements the flag.Value interface.

()

Source from the content-addressed store, hash-verified

92
93// String implements the flag.Value interface.
94func (dsv *durationSliceValue) String() string {
95 var b bytes.Buffer
96 for i, d := range *dsv {
97 if i > 0 {
98 b.WriteRune(',')
99 }
100 b.WriteString(d.String())
101 }
102 return b.String()
103}
104
105type intSliceValue []int
106

Callers

nothing calls this directly

Calls 2

StringMethod · 0.95
StringMethod · 0.65

Tested by

no test coverage detected