- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for appendJSON (0.08 sec)
-
src/expvar/expvar.go
} type jsonVar interface { // appendJSON appends the JSON representation of the receiver to b. appendJSON(b []byte) []byte } // Int is a 64-bit integer variable that satisfies the [Var] interface. type Int struct { i atomic.Int64 } func (v *Int) Value() int64 { return v.i.Load() } func (v *Int) String() string { return string(v.appendJSON(nil)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 21:32:11 UTC 2024 - 9.1K bytes - Viewed (0)