Lindenii Project Forge
Login

go-lindenii-common

Common library for the Lindenii Project
Commit info
ID
9d5eb3f7818f5a0b1dc9655c80b2adf1f2c00b2c
Author
Runxi Yu <me@runxiyu.org>
Author date
Thu, 02 Jan 2025 20:04:43 +0000
Committer
Runxi Yu <me@runxiyu.org>
Committer date
Thu, 02 Jan 2025 20:04:43 +0000
Actions
Map copy
package misc

func Copy_map[K comparable, V any](dst map[K]V, src map[K]V) {
	for k, v := range src {
		dst[k] = v
	}
}