// setup a new aws session
setup a new aws session
// setup a new aws session
func awsSession(conf AWS) *session.Session {
	sess, err := session.NewSession(&aws.Config{
		Region:      aws.String(conf.BucketRegion),
		Credentials: credentials.NewStaticCredentials(conf.Pub, conf.Priv, ""),
	})
	if err != nil {
		panic(err)
	}
	return sess
}
func awsSession ( conf AWS ) * session . Session { sess , err := session . NewSession ( & aws . Config { Region : aws . String ( conf . BucketRegion ) , Credentials : credentials . NewStaticCredentials ( conf . Pub , conf . Priv , " " ) , } ) if err != nil { panic ( err ) } return sess }
setup a new aws session
setup a new aws session
// TODO