Skip to content

go get failes because of case sensitive discrepancy #73

@grvn

Description

@grvn

Checks

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions