When I run the example code ,I got the error like that:
build command-line-arguments: cannot load github.com/pingcap/pd/pd-client: cannot find module providing package github.com/pingcap/pd/pd-client
I searched this question on google, stackoverflow and issues, but I got nothing.
@disksing
seem now it is better for us to migrate to use client-go directly.
Hi @ehds, if you want to do some experimentation, try using https://github.com/tikv/client-go and there are examples in the example directory. Note that that project is still iterating, so the API may change in the near future.
Hi @ehds, if you want to do some experimentation, try using https://github.com/tikv/client-go and there are examples in the example directory. Note that that project is still iterating, so the API may change in the near future.
OK, thanks for your help.
Most helpful comment
@disksing
seem now it is better for us to migrate to use client-go directly.