Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Improve debugging help for reflection errors #648

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ If the received value is `3`, then it will be printed as `03`.
```text
cannot find package "."
... github.com/golang/mock/mockgen/model

prog.go:14:2: no required module provides package ...: go.mod file not found in current directory or any parent directory; see 'go help modules'
prog.go:12:2: no required module provides package github.com/golang/mock/mockgen/model: go.mod file not found in current directory or any parent directory; see 'go help modules'
```

If you come across this error while using reflect mode and vendoring
Expand Down