refactor: now utils is an internal package (#166)
Let us make internal everything because this is not a library.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user