chore(ci): upgrade go to v1.23 and linter

This commit is contained in:
Michel Loiseleur
2025-01-21 10:02:04 +01:00
committed by GitHub
parent dec1ed84e3
commit 4c339e1ec6
6 changed files with 7 additions and 25 deletions

2
app.go
View File

@ -159,7 +159,7 @@ func echoHandler(w http.ResponseWriter, r *http.Request) {
func printBinary(s []byte) {
fmt.Printf("Received b:")
for n := 0; n < len(s); n++ {
for n := range s {
fmt.Printf("%d,", s[n])
}
fmt.Printf("\n")