From 0bfb35520d7e138e6219e550187e0b55bc8a29ac Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 28 Nov 2022 14:29:12 +0100 Subject: Formatting: Run gofumpt -w --- client/client.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/client.go') diff --git a/client/client.go b/client/client.go index fda6f6a..d6b04a3 100644 --- a/client/client.go +++ b/client/client.go @@ -65,10 +65,11 @@ type Client struct { } // Register initializes the clientwith the following parameters: -// - name: the name of the client -// - directory: the directory where the config files are stored. Absolute or relative -// - stateCallback: the callback function for the FSM that takes two states (old and new) and the data as an interface -// - debug: whether or not we want to enable debugging +// - name: the name of the client +// - directory: the directory where the config files are stored. Absolute or relative +// - stateCallback: the callback function for the FSM that takes two states (old and new) and the data as an interface +// - debug: whether or not we want to enable debugging +// // It returns an error if initialization failed, for example when discovery cannot be obtained and when there are no servers. func (client *Client) Register( name string, @@ -221,4 +222,3 @@ type LetsConnectNotSupportedError struct{} func (e LetsConnectNotSupportedError) Error() string { return "Any operation that involves discovery is not allowed with the Let's Connect! client" } - -- cgit v1.2.3