MCPcopy Create free account
hub / github.com/devpew/Muffin-REST-API / Funds

Struct Funds

main.go:20–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18var mySigningKey = []byte("johenews")
19
20type 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
36type User struct {
37 Username string `json:"username"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected