Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

go.mod error #5

Open
Joseph516 opened this issue Jun 27, 2022 · 2 comments
Open

go.mod error #5

Joseph516 opened this issue Jun 27, 2022 · 2 comments

Comments

@Joseph516
Copy link

I got the error: github.com/stretchr/testify/assert: github.com/asim/go-micro/plugins/client/grpc/[email protected] (replaced by ../plugins/client/grpc): reading ..\plugins\client\grpc\go.mod: open \path\to\plugins \client\grpc\go.mod: The system cannot find the path specified.

The solution is: download the plugin repo and add "v4" in the replace position of examples go.mod, like:

github.com/asim/go-micro/plugins/client/grpc/v4 => ../plugins/v4/client/grpc, not github.com/asim/go-micro/plugins/client/grpc/v4 => ../plugins/client/grpc

@NikonP
Copy link

NikonP commented Jul 14, 2022

@Joseph516 Can you please describe how to do this, none of the examples work for me

@jochumdev
Copy link
Contributor

Fixed in 5a6385d

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants