Skip to content

Commit 8b02566

Browse files
committed
Removed unused toInterfaceSlice method.
1 parent 3f7b68b commit 8b02566

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

database/pgComment_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package database
33
import (
44
"context"
55
"github.com/dipdup-net/go-lib/mocks"
6-
"github.com/go-pg/pg/v10"
76
"github.com/golang/mock/gomock"
87
"github.com/stretchr/testify/assert"
98
"testing"
@@ -17,16 +16,6 @@ func initMocks(t *testing.T) (*gomock.Controller, *mocks.MockSchemeCommenter, co
1716
return mockCtrl, mockSchemeCommenter, ctx
1817
}
1918

20-
func toInterfaceSlice(origin []pg.Safe) []interface{} {
21-
res := make([]interface{}, len(origin))
22-
23-
for i := range origin {
24-
res[i] = origin[i]
25-
}
26-
27-
return res
28-
}
29-
3019
func TestMakeCommentsWithTableName(t *testing.T) {
3120
type Ballot struct {
3221
//nolint

0 commit comments

Comments
 (0)