fixed lots of bugs
This commit is contained in:
21
utils/profile.go
Normal file
21
utils/profile.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package utils
|
||||
|
||||
import "fmt"
|
||||
|
||||
var BandRankMap = func() map[string]any {
|
||||
m := map[string]any{}
|
||||
for _, id := range []int{1, 2, 3, 4, 5, 18, 21, 45} {
|
||||
m[fmt.Sprintf("%d", id)] = 67
|
||||
}
|
||||
return m
|
||||
}()
|
||||
|
||||
var DeckRatingMap = func() map[string]any {
|
||||
m := map[string]any{}
|
||||
for _, id := range []int{1, 2, 3, 4, 5, 18, 21, 45} {
|
||||
m[fmt.Sprintf("%d", id)] = map[string]any{
|
||||
"rank": "c", "score": 0, "lowerRating": 1, "upperRating": 1600000,
|
||||
}
|
||||
}
|
||||
return m
|
||||
}()
|
||||
Reference in New Issue
Block a user