Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(go): add jsii.Sprintf helper (#4345)
It's a fairly common practice to compose string values using `fmt.Sprintf`, however in order to use these with `jsii` they need to be stored into a variable so a pointer can be taken from them, or they need passed into the `jsii.String` function. This new helper removes this constraint and provides a simple way to perform `jsii`-friendly string interpolation. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
- Loading branch information