feat: add StrToWordColor function stub

This commit is contained in:
Grail Finder
2025-05-02 14:43:05 +03:00
committed by Grail Finder (aider)
parent 990d8660b3
commit 722da6d4fa

View File

@ -11,6 +11,13 @@ const (
WordColorBlack = "black"
)
func StrToWordColor(s string) WordColor {
switch s {
case "white":
// finish this switch; if not found/default should be beije; ai!
}
}
type Room struct {
ID string `json:"id" db:"id"`
CreatedAt time.Time `json:"created_at" db:"created_at"`