Skip to content

Commit

Permalink
refactor: refatcor code and upgrade Go-Akt to v2.0.0 (#73)
Browse files Browse the repository at this point in the history
* refactor: refatcor code and upgrade Go-Akt to v2.0.0

BREAKING CHANGE: enhance clustering option

* fix: fix module path to match version

* fix: fix broken pipeline
  • Loading branch information
Tochemey authored May 25, 2024
1 parent 2d75e7f commit 8063cd9
Show file tree
Hide file tree
Showing 39 changed files with 372 additions and 372 deletions.
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ protogen:
--path protos/ego

# save artifact to
SAVE ARTIFACT gen/ego/v1 AS LOCAL egopb
SAVE ARTIFACT gen/ego/v2 AS LOCAL egopb

testprotogen:
# copy the proto files to generate
Expand Down
13 changes: 7 additions & 6 deletions actor.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@ import (
"google.golang.org/protobuf/types/known/anypb"
"google.golang.org/protobuf/types/known/timestamppb"

"github.com/tochemey/ego/egopb"
"github.com/tochemey/ego/eventstore"
"github.com/tochemey/ego/eventstream"
"github.com/tochemey/ego/internal/telemetry"
"github.com/tochemey/goakt/actors"
"github.com/tochemey/goakt/goaktpb"
"github.com/tochemey/goakt/v2/actors"
"github.com/tochemey/goakt/v2/goaktpb"

"github.com/tochemey/ego/v2/egopb"
"github.com/tochemey/ego/v2/eventstore"
"github.com/tochemey/ego/v2/eventstream"
"github.com/tochemey/ego/v2/internal/telemetry"
)

var (
Expand Down
15 changes: 8 additions & 7 deletions actor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ import (
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/emptypb"

"github.com/tochemey/ego/egopb"
"github.com/tochemey/ego/eventstore/memory"
pgeventstore "github.com/tochemey/ego/eventstore/postgres"
"github.com/tochemey/ego/eventstream"
testpb "github.com/tochemey/ego/test/data/pb/v1"
"github.com/tochemey/goakt/actors"
"github.com/tochemey/goakt/log"
"github.com/tochemey/goakt/v2/actors"
"github.com/tochemey/goakt/v2/log"
"github.com/tochemey/gopack/postgres"

"github.com/tochemey/ego/v2/egopb"
"github.com/tochemey/ego/v2/eventstore/memory"
pgeventstore "github.com/tochemey/ego/v2/eventstore/postgres"
"github.com/tochemey/ego/v2/eventstream"
testpb "github.com/tochemey/ego/v2/test/data/pb/v1"
)

func TestActor(t *testing.T) {
Expand Down
Loading

0 comments on commit 8063cd9

Please sign in to comment.