MCPcopy Index your code
hub / github.com/cli/cli / fieldByName

Function fieldByName

pkg/search/result.go:449–453  ·  view source on GitHub ↗
(v reflect.Value, field string)

Source from the content-addressed store, hash-verified

447}
448
449func fieldByName(v reflect.Value, field string) reflect.Value {
450 return v.FieldByNameFunc(func(s string) bool {
451 return strings.EqualFold(field, s)
452 })
453}

Callers 4

ExportDataMethod · 0.70
ExportDataMethod · 0.70
ExportDataMethod · 0.70
ExportDataMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected