12 lines
167 B
Go
12 lines
167 B
Go
|
package proto
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestStockAPI(t *testing.T) {
|
||
|
result, err := StockDetail("HKEX", 1, "01237")
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
t.Error(result)
|
||
|
}
|