商品rpc数据格式及调用方法
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
172 B

  1. package productrpc
  2. import (
  3. "testing"
  4. )
  5. func Test_Get(t *testing.T) {
  6. dbname := "shop_v2"
  7. id := "10248"
  8. ret, err := GetByUuid(dbname, id)
  9. t.Log(ret)
  10. t.Log(err)
  11. }