A bit of safety

This commit is contained in:
Loweel 2019-11-28 15:18:01 +01:00
parent 7941b0318e
commit a9813a91d2

View file

@ -180,6 +180,10 @@ func (c *ByClassifier) enroll() {
func sortMap(unsorted *sync.Map, size int) {
if size == 0 {
size = 1
}
type Myt struct {
Name string
Num int64