remove unused code

This commit is contained in:
MaysWind
2024-06-17 00:20:04 +08:00
parent 7e2a0b1483
commit db71ac5279
6 changed files with 8 additions and 14 deletions
+2 -4
View File
@@ -1,8 +1,6 @@
package converters
import (
"time"
"github.com/mayswind/ezbookkeeping/pkg/models"
)
@@ -12,6 +10,6 @@ type EzBookKeepingTSVFileExporter struct {
}
// ToExportedContent returns the exported TSV data
func (e *EzBookKeepingTSVFileExporter) ToExportedContent(uid int64, timezone *time.Location, transactions []*models.Transaction, accountMap map[int64]*models.Account, categoryMap map[int64]*models.TransactionCategory, tagMap map[int64]*models.TransactionTag, allTagIndexs map[int64][]int64) ([]byte, error) {
return e.toExportedContent(uid, "\t", timezone, transactions, accountMap, categoryMap, tagMap, allTagIndexs)
func (e *EzBookKeepingTSVFileExporter) ToExportedContent(uid int64, transactions []*models.Transaction, accountMap map[int64]*models.Account, categoryMap map[int64]*models.TransactionCategory, tagMap map[int64]*models.TransactionTag, allTagIndexs map[int64][]int64) ([]byte, error) {
return e.toExportedContent(uid, "\t", transactions, accountMap, categoryMap, tagMap, allTagIndexs)
}