From e9f8db8ee8fccf60e58deb1d72766f94a053bb16 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 28 Nov 2022 11:18:14 +0100 Subject: Document: Add comments for most functions and packages Errors and test files still need to be done. Also some getters are changed by removing the 'get' prefix --- exports/disco.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exports/disco.go') diff --git a/exports/disco.go b/exports/disco.go index c5e544a..b04385a 100644 --- a/exports/disco.go +++ b/exports/disco.go @@ -175,7 +175,7 @@ func GetDiscoServers(name *C.char) (*C.discoveryServers, *C.error) { if stateErr != nil { return nil, getError(stateErr) } - servers, serversErr := state.GetDiscoServers() + servers, serversErr := state.DiscoServers() if serversErr != nil { return nil, getError(serversErr) } @@ -198,7 +198,7 @@ func GetDiscoOrganizations(name *C.char) (*C.discoveryOrganizations, *C.error) { if stateErr != nil { return nil, getError(stateErr) } - organizations, organizationsErr := state.GetDiscoOrganizations() + organizations, organizationsErr := state.DiscoOrganizations() if organizationsErr != nil { return nil, getError(organizationsErr) } -- cgit v1.2.3