add hints for go mod users in documentation#8
Open
MohitKS5 wants to merge 1 commit intoqor:masterfrom
Open
Conversation
|
You saved me, I've been looking relentlessly for a solution for this |
kepeket
suggested changes
Aug 9, 2023
| $ bindatafs config/bindatafs | ||
| ``` | ||
|
|
||
| Note that the program searches for templates in the `$GOPATH + src/github.com/qor/bindatafs/templates`. As a result, if using *gomodules* initialization will throw 404 errors. The recommended solution is to switch off go modules before running above commands and then switch it back on later. |
There was a problem hiding this comment.
This should also be added for the go get command, because by default go get fallback to pkg/mod to store results of go get
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With more and more organisations using go mod if would be helpful to give a hint about what can go wrong.
I had to look at source code to figure out whats going wrong with the steps. Fortunately, it was (unexpectedly) small that allowed to quickly understand the process.