I GO in the C:/GO, run the file in D:/GOLAND/WORKspace,
Run time path D dish has been an error, I think may be GOPATH setting is wrong, the appended drawings
Find a lot of plan still not solve the problem, have bosses understand can you explain it
CodePudding user response:
Compiler will default to $(GOROOT)/SRC and $(GOPATH)/SRC directory path find package,More direct way to create a new SRC directory under the WORKspace, put consensusPBFT SRC,
Import "consensusPBFT/PBFT/consensus", it should be able to solve this problem
Go mod is golang official a dependency management tool, may I have an idea
CodePudding user response:
Use gomod, although not perfect, but the basic needs are