From bb760ad9036b586fd4f07b96623e8421e1dccaf0 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 28 Nov 2022 14:30:55 +0100 Subject: Formatting: Run golines --- exports/exports.go | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'exports') 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 { -- cgit v1.2.3