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

Function enumValueNames

script/ghmock/graphqlcheck.go:461–467  ·  view source on GitHub ↗
(def *ast.Definition)

Source from the content-addressed store, hash-verified

459}
460
461func enumValueNames(def *ast.Definition) []string {
462 var names []string
463 for _, v := range def.EnumValues {
464 names = append(names, v.Name)
465 }
466 return names
467}
468
469func jsonText(v any) string {
470 data, err := json.Marshal(v)

Callers 2

generateMethod · 0.85
checkValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected