Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ZipcodeTaxRate ¶
type ZipcodeTaxRate struct { Zipcode string `dynamodbav:"zipcode"` Rate float32 `dynamodbav:"rate"` }
func (ZipcodeTaxRate) GetKey ¶
func (zipcodeTax ZipcodeTaxRate) GetKey() map[string]types.AttributeValue
GetKey returns the composite primary key of the movie in a format that can be sent to DynamoDB.
func (ZipcodeTaxRate) String ¶
func (zipcodeTax ZipcodeTaxRate) String() string
String returns the title, year, rating, and plot of a movie, formatted for the example.
Click to show internal directories.
Click to hide internal directories.