Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Dec 23, 2023
1 parent 0ea4c5f commit e971d59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apputils/config/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"encoding/json"

// we need to use this orderedmap implementation for serialization instead of our own,
// because the generic orderedmap in hive.go doesn't support marshalling to json.
// because the generic orderedmap in hive.go doesn't support marshaling to json.
// this orderedmap implementation uses map[string]any as underlying datastructure,
// which is a must instead of map[K]V, otherwise we can't correctly sort nested maps during unmarshalling.
// which is a must instead of map[K]V, otherwise we can't correctly sort nested maps during unmarshaling.
"github.com/iancoleman/orderedmap"
flag "github.com/spf13/pflag"

Expand Down
4 changes: 2 additions & 2 deletions serializer/serix/serix.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ import (
"time"

// we need to use this orderedmap implementation for serialization instead of our own,
// because the generic orderedmap in hive.go doesn't support marshalling to json.
// because the generic orderedmap in hive.go doesn't support marshaling to json.
// this orderedmap implementation uses map[string]any as underlying datastructure,
// which is a must instead of map[K]V, otherwise we can't correctly sort nested maps during unmarshalling.
// which is a must instead of map[K]V, otherwise we can't correctly sort nested maps during unmarshaling.
"github.com/iancoleman/orderedmap"

"github.com/iotaledger/hive.go/ierrors"
Expand Down

0 comments on commit e971d59

Please sign in to comment.