refactor: version is now an internal package (#167)
Like for previous commits, just refactoring/yak shaving.
This commit is contained in:
parent
a4ae94b5ec
commit
bc85efa6e5
|
@ -105,7 +105,7 @@ To update bundled binary data use:
|
||||||
|
|
||||||
1. update binary data as described above;
|
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;
|
3. make sure you have updated dependencies;
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"github.com/apex/log"
|
"github.com/apex/log"
|
||||||
"github.com/ooni/probe-cli/internal/cli/root"
|
"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
|
// Run the app. This is the main app entry point
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"github.com/ooni/probe-cli/internal/log/handlers/batch"
|
"github.com/ooni/probe-cli/internal/log/handlers/batch"
|
||||||
"github.com/ooni/probe-cli/internal/log/handlers/cli"
|
"github.com/ooni/probe-cli/internal/log/handlers/cli"
|
||||||
"github.com/ooni/probe-cli/internal/utils"
|
"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
|
// Cmd is the root command
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"github.com/alecthomas/kingpin"
|
"github.com/alecthomas/kingpin"
|
||||||
"github.com/ooni/probe-cli/internal/cli/root"
|
"github.com/ooni/probe-cli/internal/cli/root"
|
||||||
"github.com/ooni/probe-cli/version"
|
"github.com/ooni/probe-cli/internal/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user