summaryrefslogtreecommitdiff
path: root/client/client.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 12:50:23 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 12:50:23 +0100
commit7bab6c76599fdfd34ea9bb064d871ed2be01d4c8 (patch)
tree8200ead8926c0c5f11f750698760a0bcd93c230c /client/client.go
parent7339e77c6eda5b96874dfc099d5c58da8ed53629 (diff)
Lint: Run godot fix
Full command: golangci-lint run --disable-all -E godot --fix
Diffstat (limited to 'client/client.go')
-rw-r--r--client/client.go6
1 files changed, 3 insertions, 3 deletions
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:"-"`