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

auto-generating the library? #289

Open
tve opened this issue Dec 9, 2014 · 3 comments
Open

auto-generating the library? #289

tve opened this issue Dec 9, 2014 · 3 comments

Comments

@tve
Copy link

tve commented Dec 9, 2014

This is perhaps a naive question out of left field, but has there been any thought around automatically generating the guts of this library, i.e., the many calls for the many services? I recently noticed that AWS generates the libraries it maintains from metadata. For example, for ruby it's a set of JSON files you can find at https://github.com/aws/aws-sdk-core-ruby/tree/master/aws-sdk-core/apis and for node-js it's a similar set found at https://github.com/aws/aws-sdk-js/tree/master/apis
I'm just embarking on this and while it's daunting it does seem smarter than building it all out by hand...

@alimoeeny
Copy link
Contributor

Huh! I didn't know about this. What parts can be generated that way?
@tve please keep us posted.

@lostghost
Copy link
Contributor

In case you haven't already seen, stripe has released a generated library - https://github.com/stripe/aws-go.

@alimoeeny
Copy link
Contributor

Thanks @lostghost . Very interesting. So unless we move toward a more idiomatic go and take advantage of what go provides (like returning channels on scan) and such it will be just a matter of time and goamz will be replaced by aws-go or similar libraries. Right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants