diff --git a/Readme.md b/Readme.md index b13dd9c..8600d41 100644 --- a/Readme.md +++ b/Readme.md @@ -105,7 +105,7 @@ To update bundled binary data use: 1. update binary data as described above; -2. update `version/version.go`; +2. update `internal/version/version.go`; 3. make sure you have updated dependencies; diff --git a/internal/cli/app/app.go b/internal/cli/app/app.go index 7bd0aa0..f3d6ec2 100644 --- a/internal/cli/app/app.go +++ b/internal/cli/app/app.go @@ -5,7 +5,7 @@ import ( "github.com/apex/log" "github.com/ooni/probe-cli/internal/cli/root" - "github.com/ooni/probe-cli/version" + "github.com/ooni/probe-cli/internal/version" ) // Run the app. This is the main app entry point diff --git a/internal/cli/root/root.go b/internal/cli/root/root.go index e37c338..69d58d3 100644 --- a/internal/cli/root/root.go +++ b/internal/cli/root/root.go @@ -7,7 +7,7 @@ import ( "github.com/ooni/probe-cli/internal/log/handlers/batch" "github.com/ooni/probe-cli/internal/log/handlers/cli" "github.com/ooni/probe-cli/internal/utils" - "github.com/ooni/probe-cli/version" + "github.com/ooni/probe-cli/internal/version" ) // Cmd is the root command diff --git a/internal/cli/version/version.go b/internal/cli/version/version.go index b2707fe..0bfe66b 100644 --- a/internal/cli/version/version.go +++ b/internal/cli/version/version.go @@ -5,7 +5,7 @@ import ( "github.com/alecthomas/kingpin" "github.com/ooni/probe-cli/internal/cli/root" - "github.com/ooni/probe-cli/version" + "github.com/ooni/probe-cli/internal/version" ) diff --git a/version/version.go b/internal/version/version.go similarity index 100% rename from version/version.go rename to internal/version/version.go