summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exports/servers.go2
-rw-r--r--internal/config/config.go2
-rw-r--r--internal/http/http.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/exports/servers.go b/exports/servers.go
index 959475e..d8dc57a 100644
--- a/exports/servers.go
+++ b/exports/servers.go
@@ -196,7 +196,7 @@ func getCPtrServer(state *client.Client, base *client.ServerBase) *C.server {
if base.EndTime.IsZero() {
cServer.expire_time = C.ulonglong(0)
} else {
- // The expire time should be stored as an unsigned long long in unix itme
+ // The expire time should be stored as an unsigned long long in unix time
cServer.expire_time = C.ulonglong(base.EndTime.Unix())
}
return cServer
diff --git a/internal/config/config.go b/internal/config/config.go
index 96ce742..6761d62 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -34,7 +34,7 @@ func (config *Config) filename() string {
}
// Save saves a structure 'readStruct' to the configuration
-// If it was unusuccessful, an an error is returned.
+// If it was unusuccessful, an error is returned.
func (config *Config) Save(readStruct interface{}) error {
errorMessage := "failed saving configuration"
configDirErr := util.EnsureDirectory(config.Directory)
diff --git a/internal/http/http.go b/internal/http/http.go
index 5f3d783..1d0ec45 100644
--- a/internal/http/http.go
+++ b/internal/http/http.go
@@ -111,7 +111,7 @@ func MethodWithOpts(
) (http.Header, []byte, error) {
// Make sure the url contains all the parameters
// This can return an error,
- // it already has the right error so so we don't wrap it further
+ // it already has the right error so we don't wrap it further
url, urlErr := optionalURL(url, opts)
if urlErr != nil {
// No further type wrapping is needed here