This commit is contained in:
Alexandr Mayorskiy
2020-04-15 00:28:30 +03:00
parent 96c0b70e74
commit 0aa9db2e59
4 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -178,7 +178,7 @@ var largeStructData = LargeStruct{
Verified: false,
},
},
Status{
{
Contributors: nil,
Coordinates: nil,
CreatedAt: "Fri Sep 21 23:30:20 +0000 2012",
@@ -262,7 +262,7 @@ var largeStructData = LargeStruct{
Verified: false,
},
},
Status{
{
Contributors: nil,
Coordinates: nil,
CreatedAt: "Fri Sep 21 22:51:18 +0000 2012",
+1 -1
View File
@@ -22,7 +22,7 @@ var customMapKeyTypeValue CustomMapKeyType
func init() {
customMapKeyTypeValue.Map = map[customKeyType]int{
customKeyType{0x01, 0x02}: 3,
{0x01, 0x02}: 3,
}
}
+10 -10
View File
@@ -579,7 +579,7 @@ type DeepNest struct {
var deepNestValue = DeepNest{
SliceMap: map[Str][]Str{
"testSliceMap": []Str{
"testSliceMap": {
"0",
"1",
},
@@ -588,39 +588,39 @@ var deepNestValue = DeepNest{
"testSliceMap1": []Str(nil),
},
SliceMap2: map[Str][]Str{
"testSliceMap2": []Str{},
"testSliceMap2": {},
},
NamedSliceMap: map[Str]NamedSlice{
"testNamedSliceMap": NamedSlice{
"testNamedSliceMap": {
"2",
"3",
},
},
NamedMapMap: map[Str]NamedMap{
"testNamedMapMap": NamedMap{
"testNamedMapMap": {
"key1": "value1",
},
},
MapSlice: []map[Str]Str{
map[Str]Str{
{
"testMapSlice": "someValue",
},
},
NamedSliceSlice: []NamedSlice{
NamedSlice{
{
"someValue1",
"someValue2",
},
NamedSlice{
{
"someValue3",
"someValue4",
},
},
NamedMapSlice: []NamedMap{
NamedMap{
{
"key2": "value2",
},
NamedMap{
{
"key3": "value3",
},
},
@@ -664,7 +664,7 @@ type DeepNestOptional struct {
}
var deepNestOptionalValue = DeepNestOptional{
MapSlice: []map[Str]Str{map[Str]Str{}},
MapSlice: []map[Str]Str{{}},
}
var deepNestOptionalString = `{` +
+1 -1
View File
@@ -22,4 +22,4 @@ func (i *NestedEasyMarshaler) MarshalEasyJSON(w *jwriter.Writer) {
// We use this method only to indicate that easyjson.Marshaler
// interface was really used while encoding.
i.EasilyMarshaled = true
}
}