From 69d88505fd7f4cb0d9e4f1918de296342fe05858 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 23 Aug 2021 15:05:15 +0200 Subject: 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/% --- profiling.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'profiling.go') diff --git a/profiling.go b/profiling.go index 11d6326..92de599 100644 --- a/profiling.go +++ b/profiling.go @@ -6,8 +6,8 @@ import ( "runtime/trace" "time" - "github.com/rfjakob/gocryptfs/internal/exitcodes" - "github.com/rfjakob/gocryptfs/internal/tlog" + "github.com/rfjakob/gocryptfs/v2/internal/exitcodes" + "github.com/rfjakob/gocryptfs/v2/internal/tlog" ) // setupCpuprofile is called to handle a non-empty "-cpuprofile" cli argument -- cgit v1.2.3