-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
Description
Checks
- I have searched the existing issues.
LazySSH Version
0.3.0
Operating System
Linux x86_64
Description
There seems to be an issue with cases in go.mod.
When I try to execute the following:
go get github.com/Adembc/lazyssh
result:
go: github.com/Adembc/lazyssh: invalid github.com import path "github.com/Adembc"
If I instead try to execute the following:
go get github.com/AdemBC/lazyssh
result:
go: downloading github.com/AdemBC/lazyssh v0.3.0
go: github.com/AdemBC/lazyssh@upgrade (v0.3.0) requires github.com/AdemBC/lazyssh@v0.3.0: parsing go.mod:
module declares its path as: github.com/Adembc/lazyssh
but was required as: github.com/AdemBC/lazyssh
Workaround
add this to go.mod
replace github.com/Adembc/lazyssh => github.com/AdemBC/lazyssh v0.3.0
Possible permanent fix
I do not know what @Adembc wish to do here and therefore I haven't done a PR but from my perspective I would like to change https://github.com/Adembc/lazyssh/blob/main/go.mod#L1 to
module github.com/AdemBC/lazyssh
since that is what GitHub seems to think is the "correct way" to write the users username.