remove the need for go 1.23

This commit is contained in:
Aaron Bieber 2024-11-02 13:57:00 -06:00
parent 9fdc0013bc
commit ede7654d3c
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

2
go.mod
View File

@ -1,6 +1,6 @@
module suah.dev/fass
go 1.23
go 1.21
require (
fyne.io/fyne/v2 v2.5.2

View File

@ -1,7 +1,6 @@
package main
import (
"cmp"
"crypto/tls"
"crypto/x509"
"fmt"
@ -31,7 +30,7 @@ func sortEntries(entries *hass.States) {
if n := strings.Compare(an, bn); n != 0 {
return n
}
return cmp.Compare(a.EntityID, b.EntityID)
return strings.Compare(a.EntityID, b.EntityID)
})
}