From 1c9da2073bbcbf407b5b47a7f332533efff7ce5f Mon Sep 17 00:00:00 2001
From: Dmitry Dmitriev
Date: Mon, 25 Jan 2021 14:23:52 +0300
Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?=
=?UTF-8?q?=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20?=
=?UTF-8?q?=D0=BA=D0=BE=D0=BC=D0=BF=D0=B0=D0=BD=D0=B8=D0=B9=20=D0=B8=20?=
=?UTF-8?q?=D0=BA=D0=BE=D0=BD=D1=82=D0=B0=D0=BA=D1=82=D0=BE=D0=B2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
models/companies/companies.go | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
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"`
}