Skip to content

Commit

Permalink
Use go.artefactual.dev/tools/ref
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Nov 9, 2023
1 parent 01af95d commit ccb05db
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion internal/event/redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (

"github.com/alicebob/miniredis/v2"
"github.com/redis/go-redis/v9"
"go.artefactual.dev/tools/ref"
"gotest.tools/v3/assert"

goapackage "github.com/artefactual-sdps/enduro/internal/api/gen/package_"
"github.com/artefactual-sdps/enduro/internal/event"
"github.com/artefactual-sdps/enduro/internal/ref"
)

func TestEventServiceRedisPublish(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/package_/goa.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"strings"
"time"

"go.artefactual.dev/tools/ref"
temporalapi_enums "go.temporal.io/api/enums/v1"
"goa.design/goa/v3/security"

goapackage "github.com/artefactual-sdps/enduro/internal/api/gen/package_"
"github.com/artefactual-sdps/enduro/internal/ref"
)

var ErrBulkStatusUnavailable = errors.New("bulk status unavailable")
Expand Down
2 changes: 1 addition & 1 deletion internal/package_/preservation_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

goapackage "github.com/artefactual-sdps/enduro/internal/api/gen/package_"
"github.com/artefactual-sdps/enduro/internal/event"
"github.com/artefactual-sdps/enduro/internal/ref"
"go.artefactual.dev/tools/ref"
)

type PreservationActionType uint
Expand Down
3 changes: 1 addition & 2 deletions internal/ref/ref_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ package ref_test
import (
"testing"

"go.artefactual.dev/tools/ref"
"gotest.tools/v3/assert"

"github.com/artefactual-sdps/enduro/internal/ref"
)

func TestNew(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/storage/persistence/ent/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"time"

"github.com/google/uuid"
"go.artefactual.dev/tools/ref"

goastorage "github.com/artefactual-sdps/enduro/internal/api/gen/storage"
"github.com/artefactual-sdps/enduro/internal/ref"
"github.com/artefactual-sdps/enduro/internal/storage/persistence"
"github.com/artefactual-sdps/enduro/internal/storage/persistence/ent/db"
"github.com/artefactual-sdps/enduro/internal/storage/persistence/ent/db/location"
Expand Down
2 changes: 1 addition & 1 deletion internal/storage/persistence/ent/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
"entgo.io/ent"
"github.com/google/uuid"
_ "github.com/mattn/go-sqlite3"
"go.artefactual.dev/tools/ref"
"gotest.tools/v3/assert"

goastorage "github.com/artefactual-sdps/enduro/internal/api/gen/storage"
"github.com/artefactual-sdps/enduro/internal/ref"
"github.com/artefactual-sdps/enduro/internal/storage/persistence/ent/client"
"github.com/artefactual-sdps/enduro/internal/storage/persistence/ent/db"
"github.com/artefactual-sdps/enduro/internal/storage/persistence/ent/db/enttest"
Expand Down
2 changes: 1 addition & 1 deletion internal/storage/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/go-logr/logr"
"github.com/google/uuid"
"github.com/stretchr/testify/mock"
"go.artefactual.dev/tools/ref"
temporalapi_enums "go.temporal.io/api/enums/v1"
temporalapi_workflow "go.temporal.io/api/workflow/v1"
temporalapi_workflowservice "go.temporal.io/api/workflowservice/v1"
Expand All @@ -24,7 +25,6 @@ import (

"github.com/artefactual-sdps/enduro/internal/api/auth"
goastorage "github.com/artefactual-sdps/enduro/internal/api/gen/storage"
"github.com/artefactual-sdps/enduro/internal/ref"
"github.com/artefactual-sdps/enduro/internal/storage"
"github.com/artefactual-sdps/enduro/internal/storage/persistence"
"github.com/artefactual-sdps/enduro/internal/storage/persistence/fake"
Expand Down
2 changes: 1 addition & 1 deletion internal/upload/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
"testing"

"github.com/go-logr/logr"
"go.artefactual.dev/tools/ref"
goa "goa.design/goa/v3/pkg"
_ "gocloud.dev/blob/memblob"
"gotest.tools/v3/assert"

"github.com/artefactual-sdps/enduro/internal/api/auth"
goaupload "github.com/artefactual-sdps/enduro/internal/api/gen/upload"
"github.com/artefactual-sdps/enduro/internal/ref"
"github.com/artefactual-sdps/enduro/internal/upload"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/workflow/processing.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import (

"github.com/go-logr/logr"
"github.com/google/uuid"
"go.artefactual.dev/tools/ref"
temporalsdk_temporal "go.temporal.io/sdk/temporal"
temporalsdk_workflow "go.temporal.io/sdk/workflow"

"github.com/artefactual-sdps/enduro/internal/a3m"
"github.com/artefactual-sdps/enduro/internal/fsutil"
"github.com/artefactual-sdps/enduro/internal/package_"
"github.com/artefactual-sdps/enduro/internal/ref"
"github.com/artefactual-sdps/enduro/internal/watcher"
"github.com/artefactual-sdps/enduro/internal/workflow/activities"
)
Expand Down

0 comments on commit ccb05db

Please sign in to comment.