Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Keys ¶
func Keys[M ~map[K]V, K comparable, V any](m M) []K
Keys returns the keys of the map m. The keys will be an indeterminate order.
func MergeJSON ¶
MergeJSON merges the two JSON byte slices. It returns an error if x1 or x2 cannot be JSON-unmarshalled, or the merged JSON is invalid.
Optionally, an orderBy function can be provided to alter the key order in the resulting JSON
func PrettyPrintJSON ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.