remove the need for go 1.23
This commit is contained in:
parent
9fdc0013bc
commit
ede7654d3c
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
||||
module suah.dev/fass
|
||||
|
||||
go 1.23
|
||||
go 1.21
|
||||
|
||||
require (
|
||||
fyne.io/fyne/v2 v2.5.2
|
||||
|
3
main.go
3
main.go
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user