MCPcopy
hub / github.com/XiaoMi/Gaea / String

Struct String

stats/export.go:207–210  ·  view source on GitHub ↗

String is expvar.String+Get+hook

Source from the content-addressed store, hash-verified

205
206// String is expvar.String+Get+hook
207type String struct {
208 mu sync.Mutex
209 s string
210}
211
212// NewString returns a new String
213func NewString(name string) *String {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected