diff --git a/models/companies/companies.go b/models/companies/companies.go index b05004e..328b629 100644 --- a/models/companies/companies.go +++ b/models/companies/companies.go @@ -26,6 +26,11 @@ type Links struct { Self Self `json:"self"` } -type Embedded struct { - Tags []interface{} `json:"tags"` +type Contacts struct { + ID int `json:"id"` +} + +type Embedded struct { + Tags []interface{} `json:"tags"` + Contacts []*Contacts `json:"contacts"` }