MCPcopy
hub / github.com/olric-data/olric / Scan

Method Scan

get_response.go:31–36  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

29}
30
31func (g *GetResponse) Scan(v interface{}) error {
32 if g.entry == nil {
33 return ErrNilResponse
34 }
35 return resp.Scan(g.entry.Value(), v)
36}
37
38func (g *GetResponse) Int() (int, error) {
39 v := new(int)

Callers 15

IntMethod · 0.95
StringMethod · 0.95
Int8Method · 0.95
Int16Method · 0.95
Int32Method · 0.95
Int64Method · 0.95
UintMethod · 0.95
Uint8Method · 0.95
Uint16Method · 0.95
Uint32Method · 0.95
Uint64Method · 0.95
Float32Method · 0.95

Calls 2

ScanFunction · 0.92
ValueMethod · 0.65

Tested by 1

TestDMap_Get_GetResponseFunction · 0.76