From 7fa086518800243385d8cc4696eeea9bf093e5b3 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 12 Dec 2021 21:50:13 +0100 Subject: [PATCH] fix: lint --- pkg/migration/20211212210054.go | 3 ++- pkg/modules/background/handler/background.go | 5 +++-- pkg/modules/migration/create_from_structure.go | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pkg/migration/20211212210054.go b/pkg/migration/20211212210054.go index 9ccab10bf94..a8550316216 100644 --- a/pkg/migration/20211212210054.go +++ b/pkg/migration/20211212210054.go @@ -17,11 +17,12 @@ package migration import ( + "image" + "code.vikunja.io/api/pkg/files" "code.vikunja.io/api/pkg/log" "github.com/bbrks/go-blurhash" "golang.org/x/image/draw" - "image" "src.techknowlogick.com/xormigrate" "xorm.io/xorm" ) diff --git a/pkg/modules/background/handler/background.go b/pkg/modules/background/handler/background.go index 13b15e5ab4d..19eab2ddf63 100644 --- a/pkg/modules/background/handler/background.go +++ b/pkg/modules/background/handler/background.go @@ -17,14 +17,15 @@ package handler import ( - "github.com/bbrks/go-blurhash" - "golang.org/x/image/draw" "image" "io" "net/http" "strconv" "strings" + "github.com/bbrks/go-blurhash" + "golang.org/x/image/draw" + "code.vikunja.io/api/pkg/db" "xorm.io/xorm" diff --git a/pkg/modules/migration/create_from_structure.go b/pkg/modules/migration/create_from_structure.go index 2aa9169ed23..e523efe527a 100644 --- a/pkg/modules/migration/create_from_structure.go +++ b/pkg/modules/migration/create_from_structure.go @@ -18,9 +18,10 @@ package migration import ( "bytes" - "code.vikunja.io/api/pkg/modules/background/handler" "io/ioutil" + "code.vikunja.io/api/pkg/modules/background/handler" + "xorm.io/xorm" "code.vikunja.io/api/pkg/db"