add in-memory DB for accounts, with tests!

This commit is contained in:
ari melody 2026-07-31 04:20:39 +01:00
parent 49e14b5bc5
commit 5a540184c9
Signed by: ari
GPG key ID: CF99829C92678188
9 changed files with 534 additions and 45 deletions

View file

@ -1,6 +1,9 @@
package model
import "time"
import (
"log"
"time"
)
type (
LogLevel int
@ -15,6 +18,8 @@ type (
)
const (
DEFAULT_LOG_FLAGS = log.Ldate | log.Ltime | log.Lmicroseconds
LOG_ACCOUNT string = "account"
LOG_MUSIC string = "music"
LOG_ARTIST string = "artist"