refactor: we don't wanna export pkg/oonimkall/tasks (#216)

* doc: merge the engine and the cli readmes

Part of https://github.com/ooni/probe/issues/1335

* refactor: we don't wanna export pkg/oonimkall/tasks

See https://github.com/ooni/probe/issues/1335
This commit is contained in:
Simone Basso 2021-02-03 19:48:23 +01:00 committed by GitHub
parent cc5fcede44
commit a5f4fc997c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 5 additions and 4 deletions

1
pkg/oonimkall/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/testdata

View File

@ -3,7 +3,7 @@ package tasks_test
import (
"testing"
"github.com/ooni/probe-cli/v3/pkg/oonimkall/tasks"
"github.com/ooni/probe-cli/v3/pkg/oonimkall/internal/tasks"
)
func TestDisabledEvents(t *testing.T) {

View File

@ -9,7 +9,7 @@ import (
"testing"
"time"
"github.com/ooni/probe-cli/v3/pkg/oonimkall/tasks"
"github.com/ooni/probe-cli/v3/pkg/oonimkall/internal/tasks"
)
func TestRunnerMaybeLookupBackendsFailure(t *testing.T) {

View File

@ -45,7 +45,7 @@ import (
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
"github.com/ooni/probe-cli/v3/pkg/oonimkall/tasks"
"github.com/ooni/probe-cli/v3/pkg/oonimkall/internal/tasks"
)
// Task is an asynchronous task running an experiment. It mimics the

View File

@ -10,7 +10,7 @@ import (
"github.com/google/go-cmp/cmp"
"github.com/ooni/probe-cli/v3/internal/engine/model"
"github.com/ooni/probe-cli/v3/pkg/oonimkall"
"github.com/ooni/probe-cli/v3/pkg/oonimkall/tasks"
"github.com/ooni/probe-cli/v3/pkg/oonimkall/internal/tasks"
)
type eventlike struct {