2025-07-26 23:31:00 +02:00
|
|
|
package common
|
|
|
|
|
|
|
|
|
|
const UserBucket = "users"
|
|
|
|
|
const TodoBucket = "todo"
|
|
|
|
|
|
|
|
|
|
const AuthHeader = "Authorization"
|
2025-08-23 19:14:16 +02:00
|
|
|
|
|
|
|
|
// ANSI color codes for terminal output
|
|
|
|
|
const (
|
|
|
|
|
ColorReset = "\033[0m"
|
|
|
|
|
ColorRed = "\033[31m"
|
|
|
|
|
ColorGreen = "\033[32m"
|
|
|
|
|
ColorYellow = "\033[33m"
|
|
|
|
|
ColorBlue = "\033[34m"
|
2026-01-12 20:48:52 +01:00
|
|
|
ColorPurple = "\033[35m"
|
|
|
|
|
ColorCyan = "\033[36m"
|
|
|
|
|
ColorGray = "\033[90m" // Good for timestamps
|
|
|
|
|
ColorWhite = "\033[97m"
|
2025-08-23 19:14:16 +02:00
|
|
|
)
|
|
|
|
|
|
2026-01-12 20:48:52 +01:00
|
|
|
// ANSI Color Codes (Background - for Labels)
|
|
|
|
|
var LabelColors = []string{
|
|
|
|
|
"\033[41m", // BgRed
|
|
|
|
|
"\033[42m", // BgGreen
|
|
|
|
|
"\033[43m", // BgYellow
|
|
|
|
|
"\033[44m", // BgBlue
|
|
|
|
|
"\033[45m", // BgMagenta
|
|
|
|
|
"\033[46m", // BgCyan
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-23 19:14:16 +02:00
|
|
|
// statuses
|
|
|
|
|
const (
|
2025-08-23 21:51:33 +02:00
|
|
|
NotStarted = "not started"
|
|
|
|
|
Done = "done"
|
|
|
|
|
WIP = "in progress"
|
|
|
|
|
Pending = "pending"
|
|
|
|
|
Blocked = "blocked"
|
|
|
|
|
Failed = "failed"
|
2025-08-23 19:14:16 +02:00
|
|
|
)
|