Skip to content

Commit

Permalink
Fix module import path (#84)
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

Co-authored-by: Matthew Hughes <[email protected]>
  • Loading branch information
matthewhughes-uw and matthewhughes934 authored Dec 3, 2024
1 parent 57e0f82 commit c282e8b
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 c282e8b

Please sign in to comment.