mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-04 05:23:15 -06:00
grrr linter
This commit is contained in:
parent
880dd899a1
commit
8bee4508a5
2 changed files with 1 additions and 6 deletions
|
|
@ -151,8 +151,7 @@ func (s *statusEditDB) PutStatusEdit(ctx context.Context, edit *gtsmodel.StatusE
|
|||
func (s *statusEditDB) DeleteStatusEdits(ctx context.Context, ids []string) error {
|
||||
// Gather necessary fields from
|
||||
// deleted for cache invalidation.
|
||||
var deleted []*gtsmodel.StatusEdit
|
||||
deleted = make([]*gtsmodel.StatusEdit, 0, len(ids))
|
||||
deleted := make([]*gtsmodel.StatusEdit, 0, len(ids))
|
||||
|
||||
// Delete all edits with IDs pertaining
|
||||
// to given slice, returning status IDs.
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ import (
|
|||
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/log"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/processing/account"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/processing/common"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/processing/media"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/state"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/typeutils"
|
||||
|
|
@ -38,9 +37,6 @@ import (
|
|||
// util provides util functions used by both
|
||||
// the fromClientAPI and fromFediAPI functions.
|
||||
type utils struct {
|
||||
// common processor logic
|
||||
c *common.Processor
|
||||
|
||||
state *state.State
|
||||
media *media.Processor
|
||||
account *account.Processor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue