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
5 changed files with 4 additions and 4 deletions
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
7
internal/version/version.go
Normal file
7
internal/version/version.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// Package version contains version information
|
||||
package version
|
||||
|
||||
const (
|
||||
// Version is the software version
|
||||
Version = "3.0.11-alpha"
|
||||
)
|
||||
Loading…
Reference in a new issue