* Complete add-player modal

* New player listing
* New player action layout
This commit is contained in:
MaxJa4
2024-01-15 21:26:46 +01:00
parent 04a2a2815d
commit 80d0489b41
16 changed files with 308 additions and 107 deletions

19
utils/conv.go Normal file
View File

@@ -0,0 +1,19 @@
package utils
import (
"fmt"
"strconv"
)
func UintToString(val uint) string {
return strconv.FormatUint(uint64(val), 10)
}
func StringToUint(val string) uint {
res, _ := strconv.ParseUint(val, 10, 16)
return uint(res)
}
func FloatToString(val float32) string {
return fmt.Sprintf("%f", val)
}