Skip to content

Commit

Permalink
Fix module import path
Browse files Browse the repository at this point in the history
I was trying to install this and running into errors:

    $ go install github.com/uw-labs/[email protected]
    go: github.com/uw-labs/[email protected]: github.com/uw-labs/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/uw-labs/strongbox/v2")
    $ go install github.com/uw-labs/strongbox/[email protected]
    go: github.com/uw-labs/strongbox/[email protected]: github.com/uw-labs/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/uw-labs/strongbox/v2")

Resolve these by adding the major version to the module path
  • Loading branch information
matthewhughes934 committed Dec 2, 2024
1 parent 57e0f82 commit 66c63e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/uw-labs/strongbox
module github.com/uw-labs/strongbox/v2

go 1.21

Expand Down

0 comments on commit 66c63e9

Please sign in to comment.