Skip to content

add hints for go mod users in documentation#8

Open
MohitKS5 wants to merge 1 commit intoqor:masterfrom
MohitKS5:master
Open

add hints for go mod users in documentation#8
MohitKS5 wants to merge 1 commit intoqor:masterfrom
MohitKS5:master

Conversation

@MohitKS5
Copy link
Copy Markdown

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.

@kepeket
Copy link
Copy Markdown

kepeket commented Aug 9, 2023

You saved me, I've been looking relentlessly for a solution for this

Comment thread README.md
$ 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.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

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.

2 participants