You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
(Sorry, I'm a golang newbie)
I tried following the build instructions, but the
go build
step fails for me:Running the proposed
go mod init
results in more errors:My golang is version
go version go1.22.2 linux/amd64
.Now how do I make this work, please?
The text was updated successfully, but these errors were encountered: