I have a gRPC project.
I put all my proto files in
And I put my backend code in
As you can see, my backend code imports generted proto messages from the “api” folder.
That’s why when I try to build my go project with vendor mode (using -mod=vendor) flag, it throws error saying it can not find the api proto dependencies “github.com/myName/myProject/api“
I don’t know what to do