refactor: version is now an internal package (#167)

Like for previous commits, just refactoring/yak shaving.
This commit is contained in:
Simone Basso 2020-11-13 17:37:06 +01:00 committed by GitHub
parent a4ae94b5ec
commit bc85efa6e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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"
)