fix: lint

This commit is contained in:
kolaente 2021-12-12 21:50:13 +01:00 committed by Gitea
parent 6df865876d
commit 7fa0865188
3 changed files with 7 additions and 4 deletions

View File

@ -17,11 +17,12 @@
package migration package migration
import ( import (
"image"
"code.vikunja.io/api/pkg/files" "code.vikunja.io/api/pkg/files"
"code.vikunja.io/api/pkg/log" "code.vikunja.io/api/pkg/log"
"github.com/bbrks/go-blurhash" "github.com/bbrks/go-blurhash"
"golang.org/x/image/draw" "golang.org/x/image/draw"
"image"
"src.techknowlogick.com/xormigrate" "src.techknowlogick.com/xormigrate"
"xorm.io/xorm" "xorm.io/xorm"
) )

View File

@ -17,14 +17,15 @@
package handler package handler
import ( import (
"github.com/bbrks/go-blurhash"
"golang.org/x/image/draw"
"image" "image"
"io" "io"
"net/http" "net/http"
"strconv" "strconv"
"strings" "strings"
"github.com/bbrks/go-blurhash"
"golang.org/x/image/draw"
"code.vikunja.io/api/pkg/db" "code.vikunja.io/api/pkg/db"
"xorm.io/xorm" "xorm.io/xorm"

View File

@ -18,9 +18,10 @@ package migration
import ( import (
"bytes" "bytes"
"code.vikunja.io/api/pkg/modules/background/handler"
"io/ioutil" "io/ioutil"
"code.vikunja.io/api/pkg/modules/background/handler"
"xorm.io/xorm" "xorm.io/xorm"
"code.vikunja.io/api/pkg/db" "code.vikunja.io/api/pkg/db"