Commit Graph

10 Commits

Author SHA1 Message Date
Aaron Lindsay a357d38eee Store currency/security values/prices using big.Rat natively
This adds 'shadow' types used only by the store/db internal package whch
handle converting these types to their DB-equivalent values. This change
should allow reports to be generated significantly faster since it
allows a large portion of the computation to be shifted to the database
engines.
2017-12-12 19:50:38 -05:00
Aaron Lindsay da7e025509 Move splits/transactions to store 2017-12-08 21:27:03 -05:00
Aaron Lindsay 5f296e8669 Split prices into models 2017-12-05 05:59:44 -05:00
Aaron Lindsay 128ea57c4d Split accounts and transactions into models 2017-12-05 05:59:44 -05:00
Aaron Lindsay f72c86ef58 Split securities into models 2017-12-05 05:59:44 -05:00
Aaron Lindsay 7a23739a0b gnucash: Ensure error is properly checked 2017-11-25 21:05:57 -05:00
Aaron Lindsay 507868b7a5 Begin move away from using http.ServeMux 2017-11-12 20:17:27 -05:00
Aaron Lindsay 2ff1f47432 Remove duplicate *Tx versions of database access methods
Simplify naming to remove "Tx" now that all handlers only have access to
transactions anyway, and always use "tx" as the name of the variable
representing the SQL transactions (to make it less likely to cause
confusion with monetary transactions).
2017-10-14 19:41:13 -04:00
Aaron Lindsay 4e53a5e59c Use SQL transactions for the entirety of every request 2017-10-14 14:20:50 -04:00
Aaron Lindsay d0a5980b85 First pass at reorganizing go code into sub-packages 2017-10-04 19:35:59 -04:00