Skip to content

Commit ca73d42

Browse files
committed
more fixes for lint-go
1 parent 484805f commit ca73d42

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

services/export/excel.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func IssuesToExcel(ctx *context.Context, issues issues_model.IssueList) *exceliz
2424
log.Error("cannot get first cell: %v", err)
2525
return f
2626
}
27-
err = sw.SetRow(cell, []interface{}{
27+
err = sw.SetRow(cell, []any{
2828
excelize.Cell{Value: "ID"},
2929
excelize.Cell{Value: "Title"},
3030
excelize.Cell{Value: "Status"},
@@ -74,7 +74,7 @@ func IssuesToExcel(ctx *context.Context, issues issues_model.IssueList) *exceliz
7474
}
7575

7676
cell, _ := excelize.CoordinatesToCellName(1, i+1)
77-
err = sw.SetRow(cell, []interface{}{
77+
err = sw.SetRow(cell, []any{
7878
excelize.Cell{Value: issue.Index},
7979
excelize.Cell{Value: issue.Title},
8080
excelize.Cell{Value: issue.State()},
@@ -86,7 +86,6 @@ func IssuesToExcel(ctx *context.Context, issues issues_model.IssueList) *exceliz
8686
log.Error("cannot SetRow: %v", err)
8787
return f
8888
}
89-
9089
}
9190

9291
sw.Flush()

0 commit comments

Comments
 (0)