MCPcopy
hub / github.com/redis/go-redis / deref

Function deref

commands_test.go:9905–9911  ·  view source on GitHub ↗
(viface interface{})

Source from the content-addressed store, hash-verified

9903}
9904
9905func deref(viface interface{}) interface{} {
9906 v := reflect.ValueOf(viface)
9907 for v.Kind() == reflect.Ptr {
9908 v = v.Elem()
9909 }
9910 return v.Interface()
9911}

Callers 1

commands_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected