Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build instructions don't work. #5

Open
madmaxoft opened this issue Dec 7, 2024 · 0 comments
Open

Build instructions don't work. #5

madmaxoft opened this issue Dec 7, 2024 · 0 comments

Comments

@madmaxoft
Copy link

(Sorry, I'm a golang newbie)

I tried following the build instructions, but the go build step fails for me:

subtitle-overlap-fixer$ go build
go: cannot find main module, but found .git/config in /home/xoft/Programs/subtitle-overlap-fixer
        to create a module there, run:
        go mod init

Running the proposed go mod init results in more errors:

subtitle-overlap-fixer$ go mod init
go: cannot determine module path for source directory /home/xoft/Programs/subtitle-overlap-fixer (outside GOPATH, module path must be specified)

Example usage:
        'go mod init example.com/m' to initialize a v0 or v1 module
        'go mod init example.com/m/v2' to initialize a v2 module

Run 'go help mod init' for more information.

My golang is version go version go1.22.2 linux/amd64.

Now how do I make this work, please?

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

No branches or pull requests

1 participant