Better handling of non-JSON errors

This commit is contained in:
Ian Gulliver
2023-04-26 10:04:06 -07:00
parent 5231a3dd56
commit 8236a8c115
3 changed files with 16 additions and 4 deletions

2
go.mod
View File

@@ -3,6 +3,7 @@ module github.com/gopatchy/jsrest
go 1.19
require (
github.com/go-resty/resty/v2 v2.7.0
github.com/gopatchy/metadata v0.0.0-20230424223338-33e58fee42bf
github.com/stretchr/testify v1.8.2
github.com/vfaronov/httpheader v0.1.0
@@ -13,5 +14,6 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/net v0.0.0-20211029224645-99673261e6eb // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)