summaryrefslogtreecommitdiff
path: root/exports
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-05-30 17:40:05 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-06-04 16:40:29 +0200
commit27720eccfac485d14192192e799efba191a4309c (patch)
treee415b3ea6c61f9ab1f583e2ceb452acbe1f74120 /exports
parenta1169b524e3d65676a60cd6a205362f37441b09e (diff)
Format: Run Gofumpt
Diffstat (limited to 'exports')
-rw-r--r--exports/exports.go28
1 files changed, 14 insertions, 14 deletions
diff --git a/exports/exports.go b/exports/exports.go
index 55907e7..1e496f8 100644
--- a/exports/exports.go
+++ b/exports/exports.go
@@ -675,7 +675,7 @@ func SetSecureLocation(orgID *C.char, cc *C.char) *C.char {
// `c` is the Cookie that needs to be passed. Create a new Cookie using `CookieNew`
// `search` is the search string for filtering the list.
// If any of the words in the search query is not contained in any of the display names or keywords, the candidate is filtered.
-// Otherwise they are ranked based on the levenshtein distance: https://en.wikipedia.org/wiki/Levenshtein_distance
+// Otherwise they are ranked based on the levenshtein distance: https://en.wikipedia.org/wiki/Levenshtein_distance
//
// 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
@@ -684,18 +684,18 @@ func SetSecureLocation(orgID *C.char, cc *C.char) *C.char {
//
// Example Output:
//
-// {
-// "server_list": [
-// {
-// "base_url": "https://eduvpn.rash.al/",
-// "country_code": "AL",
-// "server_type": "secure_internet",
-// },
-// {
-// "base_url": "https://eduvpn.deic.dk/",
-// "country_code": "DK",
-// "server_type": "secure_internet",
-// } , null
+// {
+// "server_list": [
+// {
+// "base_url": "https://eduvpn.rash.al/",
+// "country_code": "AL",
+// "server_type": "secure_internet",
+// },
+// {
+// "base_url": "https://eduvpn.deic.dk/",
+// "country_code": "DK",
+// "server_type": "secure_internet",
+// } , null
//
// Example Input: ```DiscoServers(myCookie, "heanet")```
//
@@ -739,7 +739,7 @@ func DiscoServers(c C.uintptr_t, search *C.char) (*C.char, *C.char) {
// `c` is the Cookie that needs to be passed. Create a new Cookie using `CookieNew`
// `search` is the search string for filtering the list.
// If any of the words in the search query is not contained in any of the display names or keywords, the candidate is filtered.
-// Otherwise they are ranked based on the levenshtein distance: https://en.wikipedia.org/wiki/Levenshtein_distance
+// Otherwise they are ranked based on the levenshtein distance: https://en.wikipedia.org/wiki/Levenshtein_distance
// If search is empty it returns ALL organizations currently known in common
//
// 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