Skip to content

go.mod weirdness or my stupidity? #699

Open
@gherlein

Description

@gherlein

If I have a go.mod with:

module tinygo.org/x/drivers

I get this error:

gherlein@io:~/src/tinygo/m$ go mod tidy
go: finding module for package tinygo.org/x/drivers/mcp2515
go: tinygo.org/x/drivers imports
	tinygo.org/x/drivers/mcp2515: cannot find module providing package tinygo.org/x/drivers/mcp2515: unrecognized import path "tinygo.org/x/drivers/mcp2515": reading https://tinygo.org/x/drivers/mcp2515?go-get=1: 404 Not Found

If I change the go.mod to

module tinygo.org/drivers

it works.

I'm too new to go.mod foo to really grok this but it does not seem right.

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