(code string)
| 35 | } |
| 36 | |
| 37 | func DecodeStockCode(code string) (Market, string, error) { |
| 38 | // 首先判断里面有没有 . |
| 39 | code = StockPrefix(CleanCode(code)) |
| 40 | return DetectMarket(code) |
| 41 | } |
| 42 | |
| 43 | func StockPrefix(code string) string { |
| 44 | code = CleanCode(code) |
no test coverage detected
searching dependent graphs…