From 67852eb58e1797a54a34df44e3444829d9031ad7 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Tue, 11 Jan 2022 23:39:49 +0100 Subject: Sort imports --- config.go | 3 ++- reddit_background/reddit_background.go | 7 ++++--- 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 { -- cgit v1.2.3-54-g00ecf