fixed SetOutput() panics on go 1.17

This commit is contained in:
HenryYee 2021-09-07 14:32:27 +08:00
parent ae349b4015
commit 55d735948f

2
go.mod
View File

@ -7,7 +7,7 @@ require (
github.com/go-playground/validator/v10 v10.9.0 github.com/go-playground/validator/v10 v10.9.0
github.com/goccy/go-json v0.7.8 github.com/goccy/go-json v0.7.8
github.com/json-iterator/go v1.1.11 github.com/json-iterator/go v1.1.11
github.com/mattn/go-isatty v0.0.13 github.com/mattn/go-isatty v0.0.14
github.com/stretchr/testify v1.7.0 github.com/stretchr/testify v1.7.0
github.com/ugorji/go/codec v1.2.6 github.com/ugorji/go/codec v1.2.6
google.golang.org/protobuf v1.27.1 google.golang.org/protobuf v1.27.1