feat(go): upgrade from go 1.21 to 1.23

BREAKING CHANGE: will not work properly with Go 1.21.
This commit is contained in:
Houmgaor
2025-10-19 22:24:48 +02:00
parent cde7995132
commit f79e05c0c9
6 changed files with 724 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/hex"
"fmt"
"io/ioutil"
"os"
"testing"
"erupe-ce/server/channelserver/compression/nullcomp"
@@ -68,7 +68,7 @@ var tests = []struct {
}
func readTestDataFile(filename string) []byte {
data, err := ioutil.ReadFile(fmt.Sprintf("./test_data/%s", filename))
data, err := os.ReadFile(fmt.Sprintf("./test_data/%s", filename))
if err != nil {
panic(err)
}