package
0.0.0-20240826104242-9b15d4d4b6f2
Repository: https://github.com/krishanbhalla/iter.git
Documentation: pkg.go.dev
# Functions
Bytes takes an integer and generates a random byte slice of length n this uses the crypto/rand package so is safe to use with remember tokens.
NBytes returns the number of bytes in a base64 string.
RememberToken is a helper function designed to generate remember tokens of a predetermined byte size.
String will generate a byte slice of size nBytes and then return a string that is the base64 URL encoded version of that byte slice.