feat: add mysql driver

This commit is contained in:
2024-11-06 00:03:41 +01:00
parent 16b74bb80d
commit 5171ce7967
2 changed files with 40 additions and 0 deletions
+7
View File
@@ -19,3 +19,10 @@ func LogAndReturnError(err error, message string) error {
slog.Error(message, "error", err.Error())
return fmt.Errorf("%s: %w", message, err)
}
func GetBoolFromString(s string) bool {
if s == "S" || s == "s" {
return true
}
return false
}