From d5f38405537e06313b6644413215642b7a866197 Mon Sep 17 00:00:00 2001 From: CHuynh97 Date: Fri, 2 Dec 2022 10:16:48 -0500 Subject: [PATCH] update service result struct --- service/service_result.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/service/service_result.go b/service/service_result.go index 6abc2db..2ad8020 100644 --- a/service/service_result.go +++ b/service/service_result.go @@ -8,9 +8,15 @@ type Service struct { Description string `json:"description"` Visibility Visibility `json:"visibility"` TeamId string `json:"teamId"` + Links Links `json:"links"` Tags []string `json:"tags,omitempty"` } +type Links struct { + Web string `json:"web"` + Api string `json:"api"` +} + type CreateResult struct { client.ResultMetadata Id string `json:"id"`