diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-11-28 14:57:12 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-11-28 14:57:12 +0100 |
| commit | f884b3df2762a1bd3799441e06659b9caad4ee6c (patch) | |
| tree | ef54f5f9f736206c32670b8968dd7bd652008d8b /internal | |
| parent | e1b0e6d493eb24c13b19254be9889a8b5a3e4281 (diff) | |
Linter: Fix dupword errors
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/config/config.go | 2 | ||||
| -rw-r--r-- | internal/http/http.go | 2 |
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 |
