Golang:module declares its path as: bou.ke/monkey, but was required as: github.com/bouk/monkey

57 Views Asked by At

enter image description here

I want to have a mock test, so I import the github.com/bouk/monkey, it still can't work and give the following message.

I couldn't find the answer anywhere, could somebody help?

PS D:\xxx\awesomeGo> go get -u github.com/bouk/monkey         
go get: github.com/bouk/[email protected]: parsing go.mod:
        module declares its path as: bou.ke/monkey    
                but was required as: github.com/bouk/monkey

this is the target repo:

enter image description here

0

There are 0 best solutions below