From 1c4a3d41149a8cf2d4b55ed65dde1dfebb23d25a Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 28 Apr 2023 17:38:59 +0200 Subject: Exports: Fix function name for DiscoOrganizations in comments --- exports/exports.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exports') diff --git a/exports/exports.go b/exports/exports.go index be2a72b..5e92a1c 100644 --- a/exports/exports.go +++ b/exports/exports.go @@ -395,7 +395,7 @@ func DiscoServers(c C.uintptr_t) (*C.char, *C.char) { return C.CString(s), getCError(err) } -// DiscoServers gets the organizations from discovery, returned as types/discovery/discovery.go Organizations marshalled as JSON +// DiscoOrganizations gets the organizations from discovery, returned as types/discovery/discovery.go Organizations marshalled as JSON // c is the Cookie that needs to be passed. Create a new Cookie using `CookieNew` // If it was unsuccessful, it returns an error. Note that when the lib was built in release mode the data is almost always non-nil, even when an error has occurred // This means it has just returned the cached list -- cgit v1.2.3