Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccountHandler ¶
func CreateAccountHandler(w http.ResponseWriter, r *http.Request)
func GetAccountHandler ¶
func GetAccountHandler(w http.ResponseWriter, r *http.Request)
func UpdateAccountHandler ¶
func UpdateAccountHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type Account ¶
type Account struct { ID string `json:"id" dynamodbav:"primary_key"` SK string `json:"-" dynamodbav:"sort_key,omitempty"` FirstName *string `json:"first_name" dynamodbav:"first_name,omitempty"` LastName *string `json:"last_name" dynamodbav:"last_name,omitempty"` CreatedOn *time.Time `json:"created_on" dynamodbav:"created_on,omitempty"` UpdatedOn *time.Time `json:"updated_on" dynamodbav:"updated_on,omitempty"` }
func (*Account) GetAccountById ¶
func (*Account) NewAccount ¶
func (*Account) SaveAccount ¶
func (*Account) UpdateAccount ¶
Click to show internal directories.
Click to hide internal directories.