diff options
author | Jakob Unterwurzacher | 2021-08-23 15:05:15 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-08-23 15:05:15 +0200 |
commit | 69d88505fd7f4cb0d9e4f1918de296342fe05858 (patch) | |
tree | bbe102cb74b8d17b39ef16e3ab9b32cf94a314a4 /masterkey.go | |
parent | c9abfc8f06e1e0ce8e8b7ca480507647572a5df7 (diff) |
go mod: declare module version v2
Our git version is v2+ for some time now, but go.mod
still declared v1. Hopefully making both match makes
https://pkg.go.dev/github.com/rfjakob/gocryptfs/v2 work.
All the import paths have been fixed like this:
find . -name \*.go | xargs sed -i s%github.com/rfjakob/gocryptfs/%github.com/rfjakob/gocryptfs/v2/%
Diffstat (limited to 'masterkey.go')
-rw-r--r-- | masterkey.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/masterkey.go b/masterkey.go index 8d75c75..10009cb 100644 --- a/masterkey.go +++ b/masterkey.go @@ -5,10 +5,10 @@ import ( "os" "strings" - "github.com/rfjakob/gocryptfs/internal/cryptocore" - "github.com/rfjakob/gocryptfs/internal/exitcodes" - "github.com/rfjakob/gocryptfs/internal/readpassword" - "github.com/rfjakob/gocryptfs/internal/tlog" + "github.com/rfjakob/gocryptfs/v2/internal/cryptocore" + "github.com/rfjakob/gocryptfs/v2/internal/exitcodes" + "github.com/rfjakob/gocryptfs/v2/internal/readpassword" + "github.com/rfjakob/gocryptfs/v2/internal/tlog" ) // unhexMasterKey - Convert a hex-encoded master key to binary. |