forked from mirror/go-json
Ignore lint error for mapIter
This commit is contained in:
parent
d8aa8348f4
commit
657973a17e
|
@ -222,6 +222,7 @@ func (m *Mapslice) Swap(i, j int) {
|
||||||
m.Items[i], m.Items[j] = m.Items[j], m.Items[i]
|
m.Items[i], m.Items[j] = m.Items[j], m.Items[i]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//nolint:structcheck,unused
|
||||||
type mapIter struct {
|
type mapIter struct {
|
||||||
key unsafe.Pointer
|
key unsafe.Pointer
|
||||||
elem unsafe.Pointer
|
elem unsafe.Pointer
|
||||||
|
|
Loading…
Reference in New Issue