Skip to content

Fall back to path mode when no go.mod is present#125

Open
teeters wants to merge 1 commit into
rogpeppe:masterfrom
teeters:master
Open

Fall back to path mode when no go.mod is present#125
teeters wants to merge 1 commit into
rogpeppe:masterfrom
teeters:master

Conversation

@teeters
Copy link
Copy Markdown

@teeters teeters commented Sep 30, 2021

Fixes #124

Following this change, if godef cannot find a go.mod file for the
current module (that is, if the go env command returns the null device
for gomod), then godef will default to non-module mode rather than failing.

Following this change, if godef cannot find a go.mod file for the
current module (that is, if the go env command returns the null device
for gomod), then godef will default to non-module mode rather than failing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Godef fails in dependency module directories where no go.mod is present

1 participant