Skip to content

kaperys/awslocal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awslocal Go Report Card

awslocal is a wrapper for the Golang AWS SDK which makes interacting with LocalStack services easier. Simply wrap your service configuration with awslocal.Wrap().

Example

session, err := session.NewSession(aws.NewConfig())
if err != nil {
    log.Fatal(err)
}

cfg := aws.NewConfig()

// Wrap the service cfg for use with LocalStack
awslocal.Wrap(cfg, awslocal.ServiceS3)

svc := s3.New(session, cfg)
log.Println(svc.ListBuckets(&s3.ListBucketsInput{}))

About

A LocalStack wrapper for the Golang AWS SDK

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published