Skip to content

Commit 97531fa

Browse files
committed
updating gofmt
1 parent aeb3584 commit 97531fa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

set.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ type Set[T comparable] interface {
175175
ToSlice() []T
176176

177177
// MarshalJSON will marshal the set into a JSON-based representation.
178-
MarshalJSON() ([]byte, error)
178+
MarshalJSON() ([]byte, error)
179179

180180
// UnmarshalJSON will unmarshal a JSON-based byte slice into a full Set datastructure.
181-
// For this to work, set subtypes must implemented the Marshal/Unmarshal interface.
181+
// For this to work, set subtypes must implemented the Marshal/Unmarshal interface.
182182
UnmarshalJSON(b []byte) error
183183
}
184184

threadunsafe.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ SOFTWARE.
2626
package mapset
2727

2828
import (
29+
"bytes"
30+
"encoding/json"
2931
"fmt"
3032
"reflect"
3133
"strings"
32-
"encoding/json"
33-
"bytes"
3434
)
3535

3636
// An OrderedPair represents a 2-tuple of values.
@@ -351,4 +351,4 @@ func (s *threadUnsafeSet[T]) UnmarshalJSON(b []byte) error {
351351
}
352352

353353
return nil
354-
}
354+
}

0 commit comments

Comments
 (0)