Skip to content

Commit

Permalink
move chain to core module
Browse files Browse the repository at this point in the history
  • Loading branch information
dobyte committed Jun 28, 2024
1 parent 2a323da commit 1ac70cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chain/chain.go → core/chains/chain.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package chain
package chains

import "github.com/dobyte/due/v2/utils/xcall"

Expand Down
6 changes: 3 additions & 3 deletions chain/chain_test.go → core/chains/chain_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package chain_test
package chains_test

import (
"fmt"
"github.com/dobyte/due/v2/chain"
"github.com/dobyte/due/v2/core/chains"
"testing"
)

func TestNewChain(t *testing.T) {
c := chain.NewChain()
c := chains.NewChain()

defer c.FireTail()

Expand Down

0 comments on commit 1ac70cb

Please sign in to comment.