forgejo-mcp/main.go
Christoph Görn 22197474e5 fix: add /v2 suffix to module path for go install compatibility
Go modules with major version v2+ require the module path to include
the version suffix. Without this, `go install` fails with:
"invalid version: module contains a go.mod file, so module path must
match major version"

Updated go.mod and all internal imports to use
codeberg.org/goern/forgejo-mcp/v2
2025-12-29 15:51:03 +01:00

13 lines
131 B
Go

package main
import (
"codeberg.org/goern/forgejo-mcp/v2/cmd"
)
var (
Version = "dev"
)
func main() {
cmd.Execute(Version)
}