TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The AWS SDK for Go is now 1.0

142 pointsby GeneticGenesisover 9 years ago

7 comments

avitzurelover 9 years ago
I&#x27;ve used the SDK in the past (before the 1.0).<p>I am far from being a Go expert but you can see this has been written by Java developers.<p>The usage is so verbose and you need to pass pointers around all the time. Even when it&#x27;s clearly not changing the original instance (when passing by value would be enough).<p>If you compare it to another lib like goamz you can clearly see how easier it is to use comparing to the Amazon SDK.<p>There&#x27;s also an issue from June 4 that discusses this: <a href="https:&#x2F;&#x2F;github.com&#x2F;aws&#x2F;aws-sdk-go&#x2F;issues&#x2F;265" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;aws&#x2F;aws-sdk-go&#x2F;issues&#x2F;265</a><p>In my lib I ended up going with goamz, it was much simpler to use and required much less boilerplate.
评论 #10599384 未加载
评论 #10598526 未加载
评论 #10598570 未加载
评论 #10598508 未加载
评论 #10598590 未加载
评论 #10598938 未加载
评论 #10599508 未加载
评论 #10598482 未加载
评论 #10651299 未加载
评论 #10598509 未加载
donatjover 9 years ago
aws.String just to get a pointer to a string rubs me the wrong way. I guess that lets it be nillable but I still don&#x27;t like it.<p>I have been watching it&#x27;s development fairly closely, seeing their strange decisions, and hoping they would rectify them. They haven&#x27;t, and as a whole the API is not written &quot;the Go way&quot;. It&#x27;s written like they are fighting the language.<p>I assure you that in Go there are better solutions to much of this. I pray V2 to be better but if it&#x27;s anything like their other SDKs they&#x27;ll avoid breaking changes to the interface until its simply no longer reasonable.<p>Their PHP SDK is largely powered by magic getters, setters and method calls, and the methods therein are largely defined by a file describing the API. This works but is hardly ideal particularly for static analysis. I was at able with a PR to talk them into putting the method hints back at least.<p>You can really tell they were missing the magic in Go and working very hard to try to make it work in a somewhat similar fashion.
andrewstuartover 9 years ago
Full points to Amazon for not treating client SDK&#x27;s like some sort of third class afterthought. And double points for not just palming off client SDK responsibility to &quot;the open source community&quot;.<p>A cloud feature does not exist unless it is supported by the SDK that you program with.
评论 #10599404 未加载
krishnasrinivasover 9 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;minio&#x2F;minio-go" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;minio&#x2F;minio-go</a> is a nice S3 Client library in Go
monksyover 9 years ago
Now introducing random 500s in Go!
elcctover 9 years ago
Great. I&#x27;ve been using it for the past few months. Documentation is terrible and there was quite a lot of breaking changes, but other than that it works... so I am okay with that.
DeveloperExtrasover 9 years ago
Yes, but does it play Doom?