We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When you have more than one value to grab from metadata, it can be fairly inconvenient to do this:
var someString string var someInt int metadata.Value(ctx, "foo", &someString) metadata.Value(ctx, "bar", &someInt)
It would be nice if we could do something like this which feels more natural.
someString := metadata.Stringctx, "foo") someInt := metadata.Int(ctx, "bar")
When generics land, maybe we can even do something like:
someStruct := metadata.Value(ctx, "bar", &MyStructType{})
But for now convenience functions for basic types will go a long way.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When you have more than one value to grab from metadata, it can be fairly inconvenient to do this:
It would be nice if we could do something like this which feels more natural.
When generics land, maybe we can even do something like:
But for now convenience functions for basic types will go a long way.
The text was updated successfully, but these errors were encountered: