summaryrefslogtreecommitdiff
path: root/internal/trans
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-10-13 13:50:24 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-13 13:50:24 +0200
commita07e62e49e1e31ea8809816072d4bc908a73321e (patch)
treed10a516c2935a9b0e1ddc247492d0b0088c18a4d /internal/trans
parentadd new logo + credits (#277) (diff)
downloadgotosocial-a07e62e49e1e31ea8809816072d4bc908a73321e.tar.xz
go fmt (#278)
Diffstat (limited to 'internal/trans')
-rw-r--r--internal/trans/importer.go4
-rw-r--r--internal/trans/trans_test.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/trans/importer.go b/internal/trans/importer.go
index 81029a098..335bb8d70 100644
--- a/internal/trans/importer.go
+++ b/internal/trans/importer.go
@@ -30,12 +30,12 @@ type Importer interface {
}
type importer struct {
- db db.DB
+ db db.DB
}
// NewImporter returns a new Importer interface that uses the given db.
func NewImporter(db db.DB) Importer {
return &importer{
- db: db,
+ db: db,
}
}
diff --git a/internal/trans/trans_test.go b/internal/trans/trans_test.go
index 3e3dfe4a3..6554167b0 100644
--- a/internal/trans/trans_test.go
+++ b/internal/trans/trans_test.go
@@ -26,7 +26,7 @@ import (
type TransTestSuite struct {
suite.Suite
- db db.DB
+ db db.DB
}
func (suite *TransTestSuite) SetupTest() {