Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HaveConflict ¶
func HaveConflict[K comparable, V comparable, S ~map[K]V](a, b S) error
HaveConflict checks if a and b have the same key, but different value
func MergeKeepFirst ¶
func MergeKeepFirst[K comparable, V any, S ~map[K]V](a, b S) S
MergeKeepFirst merges a and b keeping the values in a in case of conflict
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.