util: remove retry logic in shortid_generator
Use shortid.MustGenerate() instead of shortid.Generate(). Instead of returning errors it will panic.
Showing
Please
register
or
sign in
to comment
Use shortid.MustGenerate() instead of shortid.Generate(). Instead of returning errors it will panic.