Use go modules

This commit is contained in:
Junpei Tsuji
2019-05-23 17:11:14 +09:00
parent 6a5694a601
commit b4e4bec42f
5 changed files with 68 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ func TestNumericString_UnmarshalJSON(t *testing.T) {
{
name: "object case",
in: []byte("{\"ID\":{\"Num\": 8080}}"),
err: errors.New("json: cannot unmarshal object into Go value of type json.Number"),
err: errors.New("json: cannot unmarshal object into Go struct field foo.ID of type json.Number"),
out: foo{},
},
}