This is a call to the RDS API to create new instances of MySQL. One of the things I've found really
helpful is that as a staticly typed language, Go gives me reliable parameter autocomplete (via https://github.com/nsf/gocode)
so I can pretty easily look up parameters to the *Input
and *Output
structs in all editors that have the integration In my case vim-go
.
Amazon's Go API has a few quriks (like the pointers for everything needing the aws.String
and aws.Bool
convenience functions), but once you get into it flows easily.
Since the AWS functions are all in interfaces, I can mock github.com/aws/aws-sdk-go/service/rds/rdsiface using https://github.com/maxbrunsfeld/counterfeiter and write expectations in my unit tests.