unit - ActiveState ActiveGo 1.8
...

Package unit

import "github.com/aws/aws-sdk-go/awstesting/unit"
Overview
Index

Overview ▾

Package unit performs initialization and validation for unit tests

Index ▾

Package files

unit.go

Variables

Session is a shared session for unit tests to use.

var Session = session.Must(session.NewSession(aws.NewConfig().
    WithCredentials(credentials.NewStaticCredentials("AKID", "SECRET", "SESSION")).
    WithRegion("mock-region")))