Add run configs. Add redis for cache. Add cache-get in player-list.
This commit is contained in:
1 parent
9e3e2723d3
commit
069d76520e
10 files changed
+124
-9
No files matched your search
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user