refactor: version is now an internal package (#167)
Like for previous commits, just refactoring/yak shaving.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
// Package version contains version information
|
||||
package version
|
||||
|
||||
const (
|
||||
// Version is the software version
|
||||
Version = "3.0.11-alpha"
|
||||
)
|
||||
Reference in New Issue
Block a user