(def *ast.Definition)
| 459 | } |
| 460 | |
| 461 | func 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 | |
| 469 | func jsonText(v any) string { |
| 470 | data, err := json.Marshal(v) |
no outgoing calls
no test coverage detected