Skip to content

Commit

Permalink
fixup readme doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
jasdel authored and skmcgrail committed Sep 24, 2020
1 parent ca97a54 commit badc03c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ import (
"fmt"

"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/aws/endpoints"
"github.com/aws/aws-sdk-go-v2/aws/external"
"github.com/aws/aws-sdk-go-v2/config"
"github.com/aws/aws-sdk-go-v2/service/dynamodb"
)

func main() {
// Using the SDK's default configuration, loading additional config
// and credentials values from the environment variables, shared
// credentials, and shared configuration files
cfg, err := external.LoadDefaultConfig()
cfg, err := config.LoadDefaultConfig()
if err != nil {
panic("unable to load SDK config, " + err.Error())
}
Expand Down Expand Up @@ -161,4 +161,4 @@ features and AWS services.
[Amazon DynamoDB]: https://aws.amazon.com/dynamodb/
[Gitter channel]: https://gitter.im/aws/aws-sdk-go-v2
[design]: https://github.com/aws/aws-sdk-go-v2/blob/master/DESIGN.md
[license]: http://aws.amazon.com/apache2.0/
[license]: http://aws.amazon.com/apache2.0/

0 comments on commit badc03c

Please sign in to comment.