Add run configs. Add redis for cache. Add cache-get in player-list.

This commit is contained in:
MaxJa4 committed 2024-01-20 17:47:39 +01:00
1 parent 9e3e2723d3
commit 069d76520e
10 files changed
+124 -9

No files matched your search

+5
View File
@@ -17,3 +17,8 @@ func StringToUint(val string) uint {
func FloatToString(val float32) string {
return fmt.Sprintf("%f", val)
}
func StringToFloat(val string) float32 {
res, _ := strconv.ParseFloat(val, 32)
return float32(res)
}