From 104ee66f5930f4a37ac84538c29a291bf1d08f4f Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 24 Jan 2023 20:27:22 +0800 Subject: Use cobra as command selector --- map.go | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 map.go (limited to 'map.go') diff --git a/map.go b/map.go deleted file mode 100644 index 5692065..0000000 --- a/map.go +++ /dev/null @@ -1,8 +0,0 @@ -package main - -type Map[K comparable, V interface{}] map[K]V - -func (m Map[K, V]) Contain(key K) bool { - _, ok := m[key] - return ok -} -- cgit v1.2.3