diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-11-28 11:18:14 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-11-28 11:18:42 +0100 |
| commit | e9f8db8ee8fccf60e58deb1d72766f94a053bb16 (patch) | |
| tree | ffa5a9be67717ecc8ff7bdc03d5f96028facb0e3 /exports/disco.go | |
| parent | b4ff890ec2b459148d893499a34a6d2954530369 (diff) | |
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
Diffstat (limited to 'exports/disco.go')
| -rw-r--r-- | exports/disco.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) } |
