goamz/goamz — pull request #30 by nl5887 (2014-09-15 16:35:06+00:00)
Title: Implemented region detection for Bucket()

When calling New with empty Region:

conn := s3.New(auth, aws.Region{})

The region will be retrieved when you call conn.Bucket("name"). Maybe even better to create a Null / Default region which can be used for initialization. The code is still compatible with previous versions.