mirror of
https://github.com/teivah/100-go-mistakes.git
synced 2026-06-22 09:27:16 +08:00
Merge pull request #13 from ZvanYang/fix_Constraint
fix: getKeysWithConstraing to getKeysWithConstraint
This commit is contained in:
commit
aabd9a8499
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue