MCPcopy
hub / github.com/jmoiron/sqlx / ival

Function ival

reflectx/reflect_test.go:9–11  ·  view source on GitHub ↗
(v reflect.Value)

Source from the content-addressed store, hash-verified

7)
8
9func ival(v reflect.Value) int {
10 return v.Interface().(int)
11}
12
13func TestBasic(t *testing.T) {
14 type Foo struct {

Callers 6

TestBasicFunction · 0.85
TestBasicEmbeddedFunction · 0.85
TestInlineStructFunction · 0.85
TestFieldMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected