hashids / hashids.github.io

This is the old Hashids website. It is no longer maintained and has migrated over to Sqids.
https://sqids.org
206 stars 34 forks source link

Update Go example to reflect new version #27

Closed speps closed 8 years ago

speps commented 8 years ago

@sappenin told me the example was wrong on the main website so I created this PR to reflect the changes that went into the 1.0 API.

jd327 commented 8 years ago

Thanks for the PR, Rémi. Updated!

PS: For the future, to update example code, you'd change it at src/data.json while running grunt watch; otherwise, your html changes will get overwritten when someone else updates something. Or just ping me if you don't wanna bother with the setup ;)