summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/config/config.go2
-rw-r--r--internal/http/http.go2
2 files changed, 2 insertions, 2 deletions
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