From bf6560bb2007581892932a367f4319f2f2a01919 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Thu, 27 Aug 2026 11:23:39 +0200 Subject: Make old project runnable on Go 1.27 with mise and README - init go.mod (Go 1.27, progressbar/v3 v3.19.1) and fix import - fix FMin returning max, remove deprecated RenderBlank, apply go fix range loops - add mise.toml (go 1.27, tasks: build/run/check with go fix -diff/clean) - add focused README and update .gitignore for build artifacts --- utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils.go') diff --git a/utils.go b/utils.go index a0d0e7c..a6c5619 100644 --- a/utils.go +++ b/utils.go @@ -4,7 +4,7 @@ import "math" // FMin return mins of floats func FMin(a float64, b float64) float64 { - if a >= b { + if a < b { return a } return b -- cgit v1.3