switch to go vendoring

This commit is contained in:
Michael Barz
2023-04-19 20:24:34 +02:00
parent 632fa05ef9
commit afc6ed1e41
8527 changed files with 3004916 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
package ordered_map
import "fmt"
type KVPair struct {
Key interface{}
Value interface{}
}
func (k *KVPair) String() string {
return fmt.Sprintf("%v:%v", k.Key, k.Value)
}
func (kv1 *KVPair) Compare(kv2 *KVPair) bool {
return kv1.Key == kv2.Key && kv1.Value == kv2.Value
}