| 18 | var mySigningKey = []byte("johenews") |
| 19 | |
| 20 | type Funds struct { |
| 21 | Id int `json:"id"` |
| 22 | Name string `json:"name"` |
| 23 | Ticker string `json:"ticker"` |
| 24 | Amount int64 `json:"amount"` |
| 25 | PricePerItem decimal.Decimal `json:"priceperitem"` |
| 26 | PurchasePrice decimal.Decimal `json:"purchaseprice"` |
| 27 | PriceCurrent decimal.Decimal `json:"pricecurrent"` |
| 28 | PercentChanges decimal.Decimal `json:"percentchanges"` |
| 29 | YearlyInvestment decimal.Decimal `json:"yearlyinvestment"` |
| 30 | ClearMoney decimal.Decimal `json:"clearmoney"` |
| 31 | DatePurchase time.Time `json:"datepurchase"` |
| 32 | DateLastUpdate time.Time `json:"datelastupdate"` |
| 33 | Type string `json:"type"` |
| 34 | } |
| 35 | |
| 36 | type User struct { |
| 37 | Username string `json:"username"` |
nothing calls this directly
no outgoing calls
no test coverage detected