mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-14 16:04:38 +01:00
Add more constants to central place
This commit is contained in:
15
internal/constant/festa.go
Normal file
15
internal/constant/festa.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package constant
|
||||
|
||||
import "erupe-ce/internal/model"
|
||||
|
||||
const (
|
||||
FestivalColorNone model.FestivalColor = "none"
|
||||
FestivalColorBlue model.FestivalColor = "blue"
|
||||
FestivalColorRed model.FestivalColor = "red"
|
||||
)
|
||||
|
||||
var FestivalColorCodes = map[model.FestivalColor]int16{
|
||||
FestivalColorNone: -1,
|
||||
FestivalColorBlue: 0,
|
||||
FestivalColorRed: 1,
|
||||
}
|
||||
Reference in New Issue
Block a user