go-hashids icon indicating copy to clipboard operation
go-hashids copied to clipboard

Is it possible to check one string is a hashid?

Open w4-hanggi opened this issue 5 years ago • 2 comments

w4-hanggi avatar Dec 19 '19 07:12 w4-hanggi

I believe this does what you need.

bentcoder avatar Jan 14 '20 22:01 bentcoder

As @BentCoder wrote, DecodeWithError allows you to attempt decoding of a string.

dolmen avatar Jun 14 '21 09:06 dolmen