lint + tidy

This commit is contained in:
tsmethurst 2021-03-22 22:25:36 +01:00
commit 6037f709af
3 changed files with 1 additions and 4 deletions

View file

@ -32,7 +32,6 @@ import (
"github.com/go-pg/pg/v10/orm" "github.com/go-pg/pg/v10/orm"
"github.com/gotosocial/gotosocial/internal/config" "github.com/gotosocial/gotosocial/internal/config"
"github.com/gotosocial/gotosocial/internal/gtsmodel" "github.com/gotosocial/gotosocial/internal/gtsmodel"
"github.com/gotosocial/oauth2/v4"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )
@ -42,7 +41,6 @@ type postgresService struct {
conn *pg.DB conn *pg.DB
log *logrus.Entry log *logrus.Entry
cancel context.CancelFunc cancel context.CancelFunc
tokenStore oauth2.TokenStore
federationDB pub.Database federationDB pub.Database
} }

View file

@ -1,4 +1,3 @@
/* /*
GoToSocial GoToSocial
Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org

View file

@ -34,8 +34,8 @@ import (
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/gotosocial/gotosocial/internal/db" "github.com/gotosocial/gotosocial/internal/db"
"github.com/gotosocial/gotosocial/internal/module"
"github.com/gotosocial/gotosocial/internal/gtsmodel" "github.com/gotosocial/gotosocial/internal/gtsmodel"
"github.com/gotosocial/gotosocial/internal/module"
"github.com/gotosocial/gotosocial/internal/router" "github.com/gotosocial/gotosocial/internal/router"
"github.com/gotosocial/gotosocial/pkg/mastotypes" "github.com/gotosocial/gotosocial/pkg/mastotypes"
"github.com/gotosocial/oauth2/v4" "github.com/gotosocial/oauth2/v4"