chore: use go 1.23 (#14647)

This commit is contained in:
andig 2024-08-15 14:00:47 +02:00 • committed by GitHub
parent 40b6d1b7f3
commit 0f511ce93f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 27 additions and 31 deletions

View file

@ -2,13 +2,14 @@ package goodwe
import (
"encoding/binary"
"maps"
"net"
"slices"
"sync"
"time"
"github.com/cenkalti/backoff/v4"
"github.com/evcc-io/evcc/util"
"golang.org/x/exp/maps"
)
var (
@ -66,7 +67,7 @@ func (m *Server) readData() {
for {
mu.RLock()
ips := maps.Keys(m.inverters)
ips := slices.Collect(maps.Keys(m.inverters))
mu.RUnlock()
for _, ip := range ips {