refactor: now utils is an internal package (#166)
Let us make internal everything because this is not a library.
This commit is contained in:
parent
a58dff3050
commit
a4ae94b5ec
14 changed files with 10 additions and 10 deletions
|
|
@ -11,7 +11,7 @@ import (
|
|||
"github.com/apex/log"
|
||||
"github.com/fatih/color"
|
||||
colorable "github.com/mattn/go-colorable"
|
||||
"github.com/ooni/probe-cli/utils"
|
||||
"github.com/ooni/probe-cli/internal/utils"
|
||||
)
|
||||
|
||||
// Default handler outputting to stderr.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/apex/log"
|
||||
"github.com/ooni/probe-cli/utils"
|
||||
"github.com/ooni/probe-cli/internal/utils"
|
||||
)
|
||||
|
||||
func statusIcon(ok bool) string {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
"github.com/apex/log"
|
||||
"github.com/ooni/probe-cli/internal/database"
|
||||
"github.com/ooni/probe-cli/utils"
|
||||
"github.com/ooni/probe-cli/internal/utils"
|
||||
)
|
||||
|
||||
func formatSpeed(speed float64) string {
|
||||
|
|
|
|||
Loading…
Reference in a new issue