Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PetEntity ¶
type PetEntity struct { ID int64 `dynamodbav:"ID"` Name string `dynamodbav:"Name"` Tag *string `dynamodbav:"Tag,omitempty"` }
PetEntity defines model for Pet in the database.
type PetRepository ¶
type PetRepository struct {
// contains filtered or unexported fields
}
func NewPetRepository ¶
func NewPetRepository() *PetRepository
func (*PetRepository) Add ¶
func (r *PetRepository) Add(pet PetEntity) error
Click to show internal directories.
Click to hide internal directories.