updated changelog and formatting

This commit is contained in:
Gani Georgiev committed 2023-03-28 07:59:37 +03:00
1 parent 4c903684d8
commit 3ea02c945d
40 files changed
+62 -64

No files matched your search

-1
View File
@@ -14,7 +14,6 @@ type jsonArrayAlias[T any] JsonArray[T]
// MarshalJSON implements the [json.Marshaler] interface.
func (m JsonArray[T]) MarshalJSON() ([]byte, error) {
// initialize an empty map to ensure that `[]` is returned as json
if m == nil {
m = JsonArray[T]{}