@@ -106,6 +106,7 @@ func (t Terrorpanic) Error() string {
106
106
}
107
107
108
108
type TjsontagsString struct {
109
+ String0 string `json:"-"` // first field ignored
109
110
String1 string `json:"string1"` // renamed
110
111
String2 string `json:"-"` // ignored
111
112
String3 string `json:"-,"` // named "-"
@@ -115,6 +116,7 @@ type TjsontagsString struct {
115
116
}
116
117
117
118
type TjsontagsBool struct {
119
+ Bool0 bool `json:"-"` // first field ignored
118
120
Bool1 bool `json:"bool1"` // renamed
119
121
Bool2 bool `json:"-"` // ignored
120
122
Bool3 bool `json:"-,"` // named "-"
@@ -124,6 +126,7 @@ type TjsontagsBool struct {
124
126
}
125
127
126
128
type TjsontagsInt struct {
129
+ Int0 int `json:"-"` // first field ignored
127
130
Int1 int `json:"int1"` // renamed
128
131
Int2 int `json:"-"` // ignored
129
132
Int3 int `json:"-,"` // named "-"
@@ -133,6 +136,7 @@ type TjsontagsInt struct {
133
136
}
134
137
135
138
type TjsontagsUint struct {
139
+ Uint0 int `json:"-"` // first field ignored
136
140
Uint1 uint `json:"uint1"` // renamed
137
141
Uint2 uint `json:"-"` // ignored
138
142
Uint3 uint `json:"-,"` // named "-"
@@ -142,6 +146,7 @@ type TjsontagsUint struct {
142
146
}
143
147
144
148
type TjsontagsFloat struct {
149
+ Float0 float64 `json:"-"` // first field ignored
145
150
Float1 float64 `json:"float1"` // renamed
146
151
Float2 float64 `json:"-"` // ignored
147
152
Float3 float64 `json:"-,"` // named "-"
@@ -151,6 +156,7 @@ type TjsontagsFloat struct {
151
156
}
152
157
153
158
type TjsontagsComplex struct {
159
+ Complex0 complex128 `json:"-"` // first field ignored
154
160
Complex1 complex128 `json:"complex1"` // renamed
155
161
Complex2 complex128 `json:"-"` // ignored
156
162
Complex3 complex128 `json:"-,"` // named "-"
@@ -160,6 +166,7 @@ type TjsontagsComplex struct {
160
166
}
161
167
162
168
type TjsontagsPtr struct {
169
+ Ptr0 * string `json:"-"` // first field ignored
163
170
Ptr1 * string `json:"ptr1"` // renamed
164
171
Ptr2 * string `json:"-"` // ignored
165
172
Ptr3 * string `json:"-,"` // named "-"
@@ -169,6 +176,7 @@ type TjsontagsPtr struct {
169
176
}
170
177
171
178
type TjsontagsArray struct {
179
+ Array0 [2 ]string `json:"-"` // first field ignored
172
180
Array1 [2 ]string `json:"array1"` // renamed
173
181
Array2 [2 ]string `json:"-"` // ignored
174
182
Array3 [2 ]string `json:"-,"` // named "-"
@@ -178,6 +186,7 @@ type TjsontagsArray struct {
178
186
}
179
187
180
188
type TjsontagsSlice struct {
189
+ Slice0 []string `json:"-"` // first field ignored
181
190
Slice1 []string `json:"slice1"` // renamed
182
191
Slice2 []string `json:"-"` // ignored
183
192
Slice3 []string `json:"-,"` // named "-"
@@ -187,6 +196,7 @@ type TjsontagsSlice struct {
187
196
}
188
197
189
198
type TjsontagsMap struct {
199
+ Map0 map [string ]string `json:"-"` // first field ignored
190
200
Map1 map [string ]string `json:"map1"` // renamed
191
201
Map2 map [string ]string `json:"-"` // ignored
192
202
Map3 map [string ]string `json:"-,"` // named "-"
0 commit comments