From 0bfb35520d7e138e6219e550187e0b55bc8a29ac Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 28 Nov 2022 14:29:12 +0100 Subject: Formatting: Run gofumpt -w --- internal/discovery/discovery.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/discovery') diff --git a/internal/discovery/discovery.go b/internal/discovery/discovery.go index 40fa165..35c2689 100644 --- a/internal/discovery/discovery.go +++ b/internal/discovery/discovery.go @@ -11,14 +11,13 @@ import ( "github.com/eduvpn/eduvpn-common/types" ) - // Discovery is the main structure used for this package. type Discovery struct { // organizations represents the organizations that are returned by the discovery server organizations types.DiscoveryOrganizations // servers represents the servers that are returned by the discovery server - servers types.DiscoveryServers + servers types.DiscoveryServers } // discoFile is a helper function that gets a disco JSON and fills the structure with it @@ -79,7 +78,7 @@ func (discovery *Discovery) DetermineOrganizationsUpdate() bool { return discovery.organizations.Timestamp.IsZero() } -// SecureLocationList returns a slice of all the available locations. +// SecureLocationList returns a slice of all the available locations. func (discovery *Discovery) SecureLocationList() []string { var locations []string for _, currentServer := range discovery.servers.List { -- cgit v1.2.3