You have only named it MIDIRouter, but the go.mod should be:
module github.com/NothNoth/MIDIRouter
go 1.15
It is also a good idea not to use upper case in the declared path and module name (but it could be too late for that I suppose ;). Github is case insensitive on URLs, so it would work on a go get. As it stands, a go get won't retrieve the package, so I will need to fork it and then fix this in my fork I guess. I think you got away with this in earlier versions of Go.
ᐅ go version
go version go1.25.0 darwin/arm64
ᐅ go get github.com/NothNoth/MIDIRouter
go: github.com/NothNoth/MIDIRouter@upgrade (v0.0.0-20241226084223-64b7c776e974) requires github.com/NothNoth/MIDIRouter@v0.0.0-20241226084223-64b7c776e974: parsing go.mod:
module declares its path as: MIDIRouter
but was required as: github.com/NothNoth/MIDIRouter
You have only named it MIDIRouter, but the go.mod should be:
It is also a good idea not to use upper case in the declared path and module name (but it could be too late for that I suppose ;). Github is case insensitive on URLs, so it would work on a go get. As it stands, a go get won't retrieve the package, so I will need to fork it and then fix this in my fork I guess. I think you got away with this in earlier versions of Go.