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 #29

Open
AlexanderYastrebov opened this issue Dec 9, 2023 · 0 comments
Open

Support generics #29

AlexanderYastrebov opened this issue Dec 9, 2023 · 0 comments

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 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants