diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-11-28 14:30:55 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-11-28 14:30:55 +0100 |
| commit | bb760ad9036b586fd4f07b96623e8421e1dccaf0 (patch) | |
| tree | c06fa76d5fe89dadb3e7ad6d4f2c1d5fe6f94912 /exports/exports.go | |
| parent | 0bfb35520d7e138e6219e550187e0b55bc8a29ac (diff) | |
Formatting: Run golines
Diffstat (limited to 'exports/exports.go')
| -rw-r--r-- | exports/exports.go | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/exports/exports.go b/exports/exports.go index 124a3a5..1c5ead5 100644 --- a/exports/exports.go +++ b/exports/exports.go @@ -235,7 +235,11 @@ func RemoveCustomServer(name *C.char, url *C.char) *C.error { } //export GetConfigSecureInternet -func GetConfigSecureInternet(name *C.char, orgID *C.char, preferTCP C.int) (*C.char, *C.char, *C.error) { +func GetConfigSecureInternet( + name *C.char, + orgID *C.char, + preferTCP C.int, +) (*C.char, *C.char, *C.error) { nameStr := C.GoString(name) state, stateErr := GetVPNState(nameStr) if stateErr != nil { @@ -247,7 +251,11 @@ func GetConfigSecureInternet(name *C.char, orgID *C.char, preferTCP C.int) (*C.c } //export GetConfigInstituteAccess -func GetConfigInstituteAccess(name *C.char, url *C.char, preferTCP C.int) (*C.char, *C.char, *C.error) { +func GetConfigInstituteAccess( + name *C.char, + url *C.char, + preferTCP C.int, +) (*C.char, *C.char, *C.error) { nameStr := C.GoString(name) state, stateErr := GetVPNState(nameStr) if stateErr != nil { @@ -259,7 +267,11 @@ func GetConfigInstituteAccess(name *C.char, url *C.char, preferTCP C.int) (*C.ch } //export GetConfigCustomServer -func GetConfigCustomServer(name *C.char, url *C.char, preferTCP C.int) (*C.char, *C.char, *C.error) { +func GetConfigCustomServer( + name *C.char, + url *C.char, + preferTCP C.int, +) (*C.char, *C.char, *C.error) { nameStr := C.GoString(name) state, stateErr := GetVPNState(nameStr) if stateErr != nil { |
