Skip to content

Dirc/expenses

Repository files navigation

Expenses

Give clarity in your bank expenses.

Run

Import csv into sqlite DB.

go mod init
go mod tidy

go run *.go

go test *.go

Columns

Boekdatum	Rekeningnummer	Bedrag	Debet / Credit	Naam tegenrekening	Tegenrekening	Code	Omschrijving	Saldo na boeking

ToDo

MVP

  • add column "transactionType" e.g. boodschappen, vakantie, vasteLasten, fun

  • create db connection in main and use db as input for other funcs. (as in dev.go createTable)

  • make generateTransactionType more general

    • general for loop sql
    • struct as input
  • unit tests

    • create-db
    • transactionTypes
  • print total amount per transactionType

  • print pretty with padding

  • define multiple transaction structs

  • run as cli

    • init
    • load transactionTypes (from yaml?)
  • transactionTypesTotal:

    • add time: "from" till "when" the data is captured
    • add column for expenses per month
  • printUnknown: print table for all unknown

  • store struct in seperate table?

    • method to add/rm search items
  • make importing csv more general

    • input: csv, list of columns?

nice to haves

  • provide api with Gin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages