summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {