summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2022-01-11 23:39:49 +0100
committerLaria Carolin Chabowski <laria@laria.me>2022-01-11 23:40:14 +0100
commit67852eb58e1797a54a34df44e3444829d9031ad7 (patch)
tree4c1b00ed778899d71ec8fdbabf606ae78947fc91
parente425cd2afeb7e50b62ce4ecb2df6aed839e8c5f0 (diff)
downloadstartpage-67852eb58e1797a54a34df44e3444829d9031ad7.tar.gz
startpage-67852eb58e1797a54a34df44e3444829d9031ad7.tar.bz2
startpage-67852eb58e1797a54a34df44e3444829d9031ad7.zip
Sort imports
-rw-r--r--config.go3
-rw-r--r--reddit_background/reddit_background.go7
2 files changed, 6 insertions, 4 deletions
diff --git a/config.go b/config.go
index c32364e..9464291 100644
--- a/config.go
+++ b/config.go
@@ -2,8 +2,9 @@ package main
import (
"encoding/json"
- "github.com/adrg/xdg"
"os"
+
+ "github.com/adrg/xdg"
)
// Config contains all configuration options that are read from .config/startpage/config.json
diff --git a/reddit_background/reddit_background.go b/reddit_background/reddit_background.go
index 4b3464e..2adf03d 100644
--- a/reddit_background/reddit_background.go
+++ b/reddit_background/reddit_background.go
@@ -5,9 +5,6 @@ import (
"encoding/json"
"errors"
"fmt"
- "github.com/nfnt/resize"
- "github.com/silvasur/startpage/http_getter"
- "github.com/silvasur/startpage/interval"
"image"
_ "image/gif"
"image/jpeg"
@@ -20,6 +17,10 @@ import (
"path"
"strings"
"time"
+
+ "github.com/nfnt/resize"
+ "github.com/silvasur/startpage/http_getter"
+ "github.com/silvasur/startpage/interval"
)
type redditList struct {