12 lines
281 B
Go
12 lines
281 B
Go
package mtd_aws
|
|
|
|
import (
|
|
//"github.com/aws/aws-sdk-go/aws"
|
|
"github.com/aws/aws-sdk-go/aws/session"
|
|
)
|
|
func Session() *session.Session {
|
|
session := session.Must(session.NewSessionWithOptions(session.Options{
|
|
SharedConfigState: session.SharedConfigEnable,
|
|
}))
|
|
return session
|
|
} |