MCPcopy Create free account
hub / github.com/devfeel/mapper / BenchmarkGetFieldNameWithElem

Function BenchmarkGetFieldNameWithElem

mapper_test.go:170–174  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

168}
169
170func BenchmarkGetFieldNameWithElem(b *testing.B) {
171 for i := 0; i < b.N; i++ {
172 GetFieldName(testValue.Elem(), 0)
173 }
174}
175
176func Test_CheckExistsField(t *testing.T) {
177 Register(&testStruct{})

Callers

nothing calls this directly

Calls 1

GetFieldNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…