Skip to content

Commit 3afebfc

Browse files
authored
Refactor: Remove unused alias (#436)
1 parent 21abe4a commit 3afebfc

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

internal/pipeline/filtering/builder.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,14 @@ import (
99
"strings"
1010
)
1111

12-
type Filter func(*PkgInfo) bool
12+
type Filter func(*pkgdata.PkgInfo) bool
1313

1414
type FilterCondition struct {
1515
Filter Filter
1616
PhaseName string
1717
FieldType consts.FieldType
1818
}
1919

20-
type (
21-
PkgInfo = pkgdata.PkgInfo
22-
)
23-
2420
func QueriesToConditions(queries []query.FieldQuery) ([]*FilterCondition, error) {
2521
conditions := make([]*FilterCondition, 0, len(queries))
2622

0 commit comments

Comments
 (0)