(data []byte)
| 11 | type MCPHashID string |
| 12 | |
| 13 | func (id *MCPHashID) UnmarshalJSON(data []byte) error { |
| 14 | parsed, err := parseMCPHashIDJSON(data) |
| 15 | if err != nil { |
| 16 | return err |
| 17 | } |
| 18 | *id = MCPHashID(parsed) |
| 19 | return nil |
| 20 | } |
| 21 | |
| 22 | func (id MCPHashID) Int64() int64 { |
| 23 | decoded, err := hashids.Decode(string(id)) |
nothing calls this directly
no test coverage detected