package
0.0.0-20240910100332-a90a58eec2d5
Repository: https://github.com/sunnyegg/go-so.git
Documentation: pkg.go.dev
# Functions
decrypt decrypts cipherText using AES decryption with the given key.
encrypt encrypts plainText using AES encryption with the given key.
LoadConfig loads the configuration from file or environment variables.
parse int to string.
parse number in string to int32.
parse number in string to int64.
RandomInt generates a random integer between min and max.
RandomString generates a random string of length n.
RandomUserID generates a random user_id.
convert string to pgtype.Text.
convert string timestamp to pgtype.Timestamp.
convert uuid.UUID to pgtype.UUID.