Documentation ¶
Index ¶
- Constants
- func CloseOtelProvider()
- func CompareHashAndPassword(hashedPassword []byte, password string) error
- func Debug(message string, args ...interface{})
- func Decrypt(data []byte) string
- func Encrypt(data string) []byte
- func Error(message string, args ...interface{})
- func Fatal(message string, args ...interface{})
- func GenerateCode() string
- func GenerateFromPassword(password string) ([]byte, error)
- func GenerateUUID() string
- func GetConfigBool(key string) bool
- func GetConfigInt(key string) int
- func GetConfigString(key string) string
- func Info(message string, args ...interface{})
- func InitOtelProvider()
- func InitializeLogger() error
- func InitializeTranslations()
- func Log(level, message string, args ...interface{})
- func ReadConfig()
- func StringInBothSlices(a, b []string) bool
- func StringInSlice(a string, list []string) bool
- func Translate(word, language string) string
- func Warn(message string, args ...interface{})
Constants ¶
View Source
const AnswerMaybe = "maybe"
View Source
const AnswerNo = "no"
View Source
const AnswerYes = "yes"
Variables ¶
This section is empty.
Functions ¶
func CloseOtelProvider ¶
func CloseOtelProvider()
func CompareHashAndPassword ¶
func GenerateCode ¶
func GenerateCode() string
func GenerateFromPassword ¶
func GenerateUUID ¶
func GenerateUUID() string
func GetConfigBool ¶
func GetConfigInt ¶
func GetConfigString ¶
func InitOtelProvider ¶
func InitOtelProvider()
func InitializeLogger ¶
func InitializeLogger() error
func InitializeTranslations ¶
func InitializeTranslations()
func ReadConfig ¶
func ReadConfig()
func StringInBothSlices ¶
Returns true if both slices have at list one element in common
func StringInSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.