From 6037f709af6760efe9c5d150e9821f7de58fdde1 Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Mon, 22 Mar 2021 22:25:36 +0100 Subject: [PATCH] lint + tidy --- internal/db/pg.go | 2 -- internal/module/oauth/clientstore_test.go | 1 - internal/module/oauth/oauth.go | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/db/pg.go b/internal/db/pg.go index 2919190df..487af184f 100644 --- a/internal/db/pg.go +++ b/internal/db/pg.go @@ -32,7 +32,6 @@ import ( "github.com/go-pg/pg/v10/orm" "github.com/gotosocial/gotosocial/internal/config" "github.com/gotosocial/gotosocial/internal/gtsmodel" - "github.com/gotosocial/oauth2/v4" "github.com/sirupsen/logrus" ) @@ -42,7 +41,6 @@ type postgresService struct { conn *pg.DB log *logrus.Entry cancel context.CancelFunc - tokenStore oauth2.TokenStore federationDB pub.Database } diff --git a/internal/module/oauth/clientstore_test.go b/internal/module/oauth/clientstore_test.go index 032f4f324..bca002411 100644 --- a/internal/module/oauth/clientstore_test.go +++ b/internal/module/oauth/clientstore_test.go @@ -1,4 +1,3 @@ - /* GoToSocial Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org diff --git a/internal/module/oauth/oauth.go b/internal/module/oauth/oauth.go index b0530c64f..4436f7a8d 100644 --- a/internal/module/oauth/oauth.go +++ b/internal/module/oauth/oauth.go @@ -34,8 +34,8 @@ import ( "github.com/gin-gonic/gin" "github.com/google/uuid" "github.com/gotosocial/gotosocial/internal/db" - "github.com/gotosocial/gotosocial/internal/module" "github.com/gotosocial/gotosocial/internal/gtsmodel" + "github.com/gotosocial/gotosocial/internal/module" "github.com/gotosocial/gotosocial/internal/router" "github.com/gotosocial/gotosocial/pkg/mastotypes" "github.com/gotosocial/oauth2/v4"