Documentation
¶
Overview ¶
Package utils implements helpful funcs that are reused throughout the app and provide some simply, yet redundantly coded, functionaly.
This package should not import any other packages. This package should only be imported into other packages. This is to prevent import loops. Plus, considering that these are basic helper funcs there should be no need to depend on anything else (maybe the std lib).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandString ¶
RandString generates a random string. This is typically used for creating login/session or 2FA cookie values. This retuns a string formated in base64.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.