diff --git a/02-code-project-organization/9-generics/main.go b/02-code-project-organization/9-generics/main.go index a5a819d..b9cecf8 100644 --- a/02-code-project-organization/9-generics/main.go +++ b/02-code-project-organization/9-generics/main.go @@ -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 }