From 7bab6c76599fdfd34ea9bb064d871ed2be01d4c8 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 28 Nov 2022 12:50:23 +0100 Subject: Lint: Run godot fix Full command: golangci-lint run --disable-all -E godot --fix --- client/client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/client.go') diff --git a/client/client.go b/client/client.go index 958dd25..3f8dbea 100644 --- a/client/client.go +++ b/client/client.go @@ -15,11 +15,11 @@ import ( type ( // ServerBase is an alias to the internal ServerBase - // This contains the details for each server + // This contains the details for each server. ServerBase = server.ServerBase ) -// This wraps the error, logs it and then returns the wrapped error +// This wraps the error, logs it and then returns the wrapped error. func (client *Client) handleError(message string, err error) error { if err != nil { // Logs the error with the same level/verbosity as the error @@ -34,7 +34,7 @@ func (client Client) isLetsConnect() bool { return strings.HasPrefix(client.Name, "org.letsconnect-vpn.app") } -// Client is the main struct for the VPN client +// Client is the main struct for the VPN client. type Client struct { // The name of the client Name string `json:"-"` -- cgit v1.2.3