GetTypeDescription returns a concise description for known types.
(typeName string)
| 30 | |
| 31 | // GetTypeDescription returns a concise description for known types. |
| 32 | func GetTypeDescription(typeName string) (string, bool) { |
| 33 | desc, ok := typeDescriptions[typeName] |
| 34 | return desc, ok |
| 35 | } |
| 36 | |
| 37 | // EndpointInfo is the indexed representation of an API endpoint. |
| 38 | type EndpointInfo struct { |