I made a custom type for my IDs: type ID uint func (id ID) MarshalJSON() ([]byte, error) { e, _ := HashIDs.Encode([]…
json go marshalling hashidsUsing the package hashids, I can obtain hashes (with encode and decode) from numbers. var Hashids = require("hashids"), hashids = new …
node.js hash hashids