Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitchellh/Goamz
Golang Amazon Library
https://github.com/mitchellh/Goamz
Last synced: 20 days ago
JSON representation
Golang Amazon Library
- Host: GitHub
- URL: https://github.com/mitchellh/Goamz
- Owner: mitchellh
- License: other
- Archived: true
- Created: 2013-05-10T20:26:17.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-12-08T16:53:59.000Z (almost 8 years ago)
- Last Synced: 2024-08-03T15:06:04.845Z (3 months ago)
- Language: Go
- Size: 2.74 MB
- Stars: 673
- Watchers: 31
- Forks: 217
- Open Issues: 96
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# goamz - An Amazon Library for Go
Current API documentation: [![GoDoc](https://godoc.org/github.com/mitchellh/goamz?status.svg)](https://godoc.org/github.com/mitchellh/goamz)
This is a fork of [https://launchpad.net/goamz](https://launchpad.net/goamz)
that adds some missing API calls to certain packages.This library is *incomplete*, but implements a large amount of the AWS API.
It is heavily used in projects such as
[Terraform](https://github.com/hashicorp/terraform) and
[Packer](https://github.com/mitchellh/packer).
If you find anything missing from this library,
please [file an issue](https://github.com/mitchellh/goamz).## Example Usage
```go
package mainimport (
"github.com/mitchellh/goamz/aws"
"github.com/mitchellh/goamz/s3"
"log"
"fmt"
)func main() {
auth, err := aws.EnvAuth()
if err != nil {
log.Fatal(err)
}
client := s3.New(auth, aws.USEast)
resp, err := client.ListBuckets()if err != nil {
log.Fatal(err)
}log.Print(fmt.Sprintf("%T %+v", resp.Buckets[0], resp.Buckets[0]))
}
```