Merge pull request #13 from ZvanYang/fix_Constraint

fix: getKeysWithConstraing to getKeysWithConstraint
This commit is contained in:
Teiva Harsanyi 2022-10-30 20:14:12 +01:00 committed by GitHub
commit aabd9a8499
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ type customConstraint interface {
~int | ~string
}
func getKeysWithConstraing[K customConstraint, V any](m map[K]V) []K {
func getKeysWithConstraint[K customConstraint, V any](m map[K]V) []K {
return nil
}