(w http.ResponseWriter, r *http.Request)
| 124 | } |
| 125 | |
| 126 | func getUSDFundsBonds(w http.ResponseWriter, r *http.Request) { |
| 127 | w.Header().Set("Access-Control-Allow-Origin", "*") |
| 128 | w.Header().Set("Content-Type", "application/json") |
| 129 | var ArrShares = myUSDCurrentFunds("bond") |
| 130 | json.NewEncoder(w).Encode(ArrShares) |
| 131 | } |
| 132 | |
| 133 | func myRUBCurrentFunds(fundType string) []Funds { |
| 134 | var amountShares []Funds |
nothing calls this directly
no test coverage detected