Gehen Sie aus der Karte entfernen
m := map[string]string{"key1": "val1", "key2": "val2"}
delete(m, "key1")
Navid2zp
m := map[string]string{"key1": "val1", "key2": "val2"}
delete(m, "key1")