MCPcopy Create free account
hub / github.com/cli/cli / fieldByName

Function fieldByName

api/export_pr.go:252–256  ·  view source on GitHub ↗
(v reflect.Value, field string)

Source from the content-addressed store, hash-verified

250}
251
252func fieldByName(v reflect.Value, field string) reflect.Value {
253 return v.FieldByNameFunc(func(s string) bool {
254 return strings.EqualFold(field, s)
255 })
256}

Callers 3

ExportDataMethod · 0.70
ExportDataMethod · 0.70
ExportDataMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected