Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support generics #30

Closed
AlexanderYastrebov opened this issue Dec 9, 2023 · 1 comment
Closed

Support generics #30

AlexanderYastrebov opened this issue Dec 9, 2023 · 1 comment

Comments

@AlexanderYastrebov
Copy link

The tool fails to parse generics:

could not parse input routing/context.go:24:17: expected '(', found '['
func FromContext[K comparable, V any](ctx context.Context, key K, defaultValue func() V) V 
@AlexanderYastrebov
Copy link
Author

Accidental duplicate of #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant