package taskrpc import ( "testing") func Test_DoTask(t *testing.T) { dbname := "shop" siteid := "1198881" userid := "19" task_type := "phone" list, err := DoTask(dbname,siteid,userid,task_type) t.Log(list) t.Log(err)}