refactor: log with zap

This commit is contained in:
cyrilix committed 2021-10-12 19:28:56 +02:00
1 parent ce28fac0f1
commit de9dae9bd6
99 files changed
+10049 -40

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
package util
// Linear mapping between two ranges of values
// MapRange Linear mapping between two ranges of values
func MapRange(x, xmin, xmax, ymin, ymax float64) int {
Xrange := xmax - xmin
Yrange := ymax - ymin