From bda3d2784986e0a3fe2df78ec881332e81b54b3b Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 18 Jul 2022 14:24:19 +0200 Subject: All: Run Gofumpt formatter --- internal/types/server.go | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'internal/types/server.go') diff --git a/internal/types/server.go b/internal/types/server.go index 09bfc92..9e68a5c 100644 --- a/internal/types/server.go +++ b/internal/types/server.go @@ -16,9 +16,9 @@ type DiscoveryOrganizations struct { } type DiscoveryOrganization struct { - DisplayName map[string]string `json:"display_name"` - OrgId string `json:"org_id"` - SecureInternetHome string `json:"secure_internet_home"` + DisplayName map[string]string `json:"display_name"` + OrgId string `json:"org_id"` + SecureInternetHome string `json:"secure_internet_home"` KeywordList struct { En string `json:"en"` } `json:"keyword_list"` @@ -58,13 +58,12 @@ func (DN *DNMapOrString) UnmarshalJSON(data []byte) error { return err } - type DiscoveryServer struct { - AuthenticationURLTemplate string `json:"authentication_url_template"` - BaseURL string `json:"base_url"` - CountryCode string `json:"country_code"` - DisplayName DNMapOrString `json:"display_name,omitempty"` - PublicKeyList []string `json:"public_key_list"` - Type string `json:"server_type"` - SupportContact []string `json:"support_contact"` + AuthenticationURLTemplate string `json:"authentication_url_template"` + BaseURL string `json:"base_url"` + CountryCode string `json:"country_code"` + DisplayName DNMapOrString `json:"display_name,omitempty"` + PublicKeyList []string `json:"public_key_list"` + Type string `json:"server_type"` + SupportContact []string `json:"support_contact"` } -- cgit v1.2.3