package productrpc import ( "testing" ) func Test_Favorite(t *testing.T) { dbname := "shop_v2" product_id := "1024800" site_id := "102480" user_id := "10248" ret, err := Favorite(site_id, dbname, product_id, user_id) t.Log(ret) t.Log(err) }