Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

go.mod file missing when compiling from source #12

@weiyaw

Description

@weiyaw

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions