(id int64)
| 194 | } |
| 195 | |
| 196 | func encodeMCPInt64(id int64) (any, bool) { |
| 197 | encoded, err := hashids.Encode(id) |
| 198 | if err != nil { |
| 199 | return nil, false |
| 200 | } |
| 201 | return encoded, true |
| 202 | } |
| 203 | |
| 204 | func isMCPIDField(fieldName string) bool { |
| 205 | if hashids.IsIDField(fieldName) { |
no test coverage detected