Skip to content

malc0lm/go-rgws3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goamz - An Amazon Library for Go

Current API documentation: GoDoc

This is a fork of 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 and Packer. If you find anything missing from this library, please file an issue.

Example Usage

package main

import (
  "github.com/malc0lm/goamz/aws"
  "github.com/malc0lm/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]))
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published