Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewImportCommand ¶
func NewLoginCommand ¶
func NewRootCommand ¶
Types ¶
type PurchaseEvent ¶
type PurchaseEvent string
func (PurchaseEvent) String ¶
func (p PurchaseEvent) String() string
type RowData ¶
type RowData struct { Fiat string CRO string // TODO: compute these from the other two values PurchasePrice string PercentChange string FiatChange string }
func NewRowData ¶
TODO: refactor this to be part of the transaction importer struct
type TransactionImporter ¶
type TransactionImporter struct { Googlesheet *sheets.Service SpreadsheetID string CryptoTransactions *csv.Reader // contains filtered or unexported fields }
func NewTransactionImporter ¶
func NewTransactionImporter(opts TransactionImporterOpts) *TransactionImporter
func (*TransactionImporter) Validate ¶
func (t *TransactionImporter) Validate() error
Click to show internal directories.
Click to hide internal directories.