speps / go-hashids

Go (golang) implementation of http://www.hashids.org
MIT License
1.32k stars 109 forks source link

Is it possible to check one string is a hashid? #53

Open w4-hanggi opened 4 years ago

bentcoder commented 4 years ago

I believe this does what you need.

dolmen commented 3 years ago

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