Skip to content

could not import github.com/davegardnerisme/deephash (invalid package name: "") when generating mocks #28

@myshkin5

Description

@myshkin5

github.com/davegardnerisme/deephash is a dependency of moqueries. Apparently Go dependency management is getting hung up on the transitive dependency (transitive to the project generating the mocks). Might be caused by the lack of go.mod in deephash (which has no dependencies other that the standard library).

WORKAROUND

$ go get github.com/davegardnerisme/deephash

Then retry generating the mocks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions