lfs-folderstore icon indicating copy to clipboard operation
lfs-folderstore copied to clipboard

go.mod file missing when compiling from source

Open weiyaw opened this issue 3 years ago • 0 comments

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

weiyaw avatar Oct 14 '21 06:10 weiyaw