awsdocs / aws-cdk-guide

User guide for the AWS Cloud Development Kit (CDK).
Other
327 stars 222 forks source link

added tagging code examples in golang #461

Closed ThomasReulen closed 4 months ago

ThomasReulen commented 7 months ago

Issue #, if available:

Description of changes: Added tagging examples in golang (and fixed one wrong java naming "key"/"tagname")

I had Problems translating the last example. The Interface implementation and overwriting of "Visit()", while still having an Struct ("Object") of type IAspect is not possible, at least I dont know how to do this. Is it even doable, with golang not beeing OO? Would be great to know. Would suggest adding a Go section regardless, with a comment stating the problem, so users know why there is no example.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.