go.mod file missing when compiling from source
weiyaw opened this issue · 0 comments
weiyaw commented
Hi,
I'm trying to compile from scratch as the macOS binary does not seem to be working. However, when running go build
, it ask for a go.mod
file.
I don't have any experience with Go, but after some googling I have figured out a workaround
go mod init github.com/sinbad/lfs-folderstore
go mod tidy
I'm assuming that the first line of code creates a simple go.mod
and the second line writes all the dependency of this repo to go.mod
. But I'm not sure. Can someone please verify?
Reference: https://golang.org/doc/tutorial/getting-started
Regards,
Kenyon