add variable system + fix bugs here and there.

This commit is contained in:
2023-01-13 01:19:34 +01:00
parent 88036cfcae
commit 842f96d8e3
22 changed files with 368 additions and 43 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
package gentools
func CopyMap[K comparable, V any](m map[K]V) map[K]V {
m2 := make(map[K]V, len(m))
m2 := make(map[K]V, len(m)+1)
for k, v := range m {
m2[k] = v
}