package api import ( "testing" ) func TestApi(t *testing.T) { rst, err := HttpTest() if err != nil { t.Fatalf("err, %v.\n", err) } t.Logf(rst) }