Go 1.21; use log/slog instead of version from x/exp

This commit is contained in:
2023-09-17 23:03:55 -07:00
parent 053de4fd16
commit 020966a4b3
5 changed files with 10 additions and 7 deletions

6
go.mod
View File

@@ -1,6 +1,6 @@
module go.ntppool.org/common
go 1.20
go 1.21
require (
github.com/abh/certman v0.4.0
@@ -8,7 +8,7 @@ require (
github.com/prometheus/client_golang v1.16.0
github.com/segmentio/kafka-go v0.4.42
github.com/spf13/cobra v1.7.0
golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
golang.org/x/mod v0.12.0
golang.org/x/sync v0.3.0
)
@@ -29,6 +29,6 @@ require (
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/testify v1.8.4 // indirect
golang.org/x/net v0.11.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/sys v0.12.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
)