Tikv: Cannot find module providing package github.com/pingcap/pd/pd-client

Created on 27 Mar 2019  路  3Comments  路  Source: tikv/tikv

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.

componenbuild typquestion

Most helpful comment

@disksing

seem now it is better for us to migrate to use client-go directly.

All 3 comments

@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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hicqu picture hicqu  路  5Comments

abo picture abo  路  8Comments

CindyXing picture CindyXing  路  8Comments

fredchenbj picture fredchenbj  路  8Comments

breeswish picture breeswish  路  4Comments