Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LambdaFunctions ¶
func LambdaFunctions(api *sparta.API) []*sparta.LambdaAWSInfo
Types ¶
type Info ¶
type Info struct { Directors []string ReleaseDate time.Time `json:"release_date" dynamodbav:"ReleaseDate"` Rating float64 Genres []string ImageURL string `json:"image_url" dynamodbav:"ImageURL"` Plot string Rank int RunningTimeSecs int `json:"running_time_secs" dynamodbav:"RunningTimeSecs"` Actors []string }
type MovieRental ¶
type MovieRental struct { PK string SK string Year int // part of pkey to Movie Title string // part of pkey to Movie Phone string // Part of fkey to CustomerRental Date time.Time // Part of fkey to CustomerRental DueDate time.Time ReturnDate time.Time }
MovieRental represents a movie that was part of a CustomerRental
func (*MovieRental) Init ¶
func (mr *MovieRental) Init()
func (*MovieRental) MakePK ¶
func (mr *MovieRental) MakePK() string
func (*MovieRental) MakeSK ¶
func (mr *MovieRental) MakeSK() string
Click to show internal directories.
Click to hide internal directories.