1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-12-27 16:02:27 -05:00
Commit Graph

17 Commits

Author SHA1 Message Date
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
32aef11da5 Finish 'store' separation 2017-12-09 05:56:45 -05:00
da7e025509 Move splits/transactions to store 2017-12-08 21:27:03 -05:00
3326c3b292 Move accounts to store 2017-12-07 20:47:55 -05:00
bec5152e53 Move users and securities to store 2017-12-07 20:08:43 -05:00
c452984f23 Lay groundwork and move sessions to 'store' 2017-12-07 05:25:35 -05:00
128ea57c4d Split accounts and transactions into models 2017-12-05 05:59:44 -05:00
f72c86ef58 Split securities into models 2017-12-05 05:59:44 -05:00
e70be1647c Begin splitting models from handlers with User 2017-12-05 05:59:44 -05:00
5a6be5a07b Stop using form elements for API
Just send the JSON as the request body
2017-11-13 20:48:19 -05:00
9624f0c5bc Move to a consistent way of handling IDs in URLs 2017-11-12 21:15:00 -05:00
e99abfe866 handlers: Cleanup Context, route handling code 2017-11-12 20:39:36 -05:00
507868b7a5 Begin move away from using http.ServeMux 2017-11-12 20:17:27 -05:00
85a58c3ff8 go vet, go fmt 2017-10-14 20:38:40 -04:00
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
4e53a5e59c Use SQL transactions for the entirety of every request 2017-10-14 14:20:50 -04:00
d0a5980b85 First pass at reorganizing go code into sub-packages 2017-10-04 19:35:59 -04:00