Skip to content

Commit

Permalink
Update from ptr doc example for go sdk v2 api (#1073)
Browse files Browse the repository at this point in the history
  • Loading branch information
nddeluca authored Jan 25, 2021
1 parent 18e92a3 commit 409c761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// strPtr = aws.String("my string")
//
// // Convert *string to string value
// str = aws.StringValue(strPtr)
// str = aws.ToString(strPtr)
//
// In addition to scalars the aws package also includes conversion utilities for
// map and slice for commonly types used in API parameters. The map and slice
Expand All @@ -40,7 +40,7 @@
// strPtrs = aws.StringSlice(strs)
//
// // Convert []*string to []string
// strs = aws.StringValueSlice(strPtrs)
// strs = aws.ToStringSlice(strPtrs)
//
// SDK Default HTTP Client
//
Expand Down

0 comments on commit 409c761

Please sign in to comment.