mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-11 18:44:26 +00:00
Commit from m3o/m3o action
This commit is contained in:
@@ -59,8 +59,8 @@ func (t *ContactService) Update(request *UpdateRequest) (*UpdateResponse, error)
|
||||
type Address struct {
|
||||
// the label of the address
|
||||
Label string `json:"label"`
|
||||
// the street address
|
||||
Street string `json:"street"`
|
||||
// the address location
|
||||
Location string `json:"location"`
|
||||
}
|
||||
|
||||
type ContactInfo struct {
|
||||
@@ -89,7 +89,7 @@ type ContactInfo struct {
|
||||
}
|
||||
|
||||
type CreateRequest struct {
|
||||
// optional, address
|
||||
// optional, location
|
||||
Addresses []Address `json:"addresses"`
|
||||
// optional, birthday
|
||||
Birthday string `json:"birthday"`
|
||||
|
||||
Reference in New Issue
Block a user