feat(v2)!: update to go 1.22 (#724)

* feat(v2)!: update to go 1.22

* fix: ci

* fix: more
This commit is contained in:
Carlos Alexandro Becker
2025-02-05 10:00:01 -03:00
committed by GitHub
parent a7783a1a58
commit 64c16e990e
13 changed files with 12 additions and 104 deletions
-14
View File
@@ -761,20 +761,6 @@ func clamp(v, low, high int) int {
return min(high, max(low, v))
}
func min(a, b int) int {
if a < b {
return a
}
return b
}
func max(a, b int) int {
if a > b {
return a
}
return b
}
func (m Model) completionView(offset int) string {
var (
value = m.value