mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-04-25 20:36:21 +02:00
chore: migrate module path to syntrex-lab and prepare open source release
This commit is contained in:
parent
a54c892736
commit
5cbb3d89d3
107 changed files with 465 additions and 594 deletions
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/causal"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/causal"
|
||||
)
|
||||
|
||||
// CausalRepo implements causal.CausalStore using SQLite.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/causal"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/causal"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/crystal"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/crystal"
|
||||
)
|
||||
|
||||
// CrystalRepo implements crystal.CrystalStore using SQLite.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/crystal"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/crystal"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/memory"
|
||||
)
|
||||
|
||||
const timeFormat = time.RFC3339Nano
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/memory"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/peer"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/peer"
|
||||
)
|
||||
|
||||
// PeerRepo implements peer.PeerStore using SQLite.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/soc"
|
||||
)
|
||||
|
||||
// SOCRepo provides SQLite persistence for SOC events, incidents, and sensors.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/soc"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/soc"
|
||||
)
|
||||
|
||||
func setupSOCRepo(t *testing.T) *SOCRepo {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/session"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/session"
|
||||
)
|
||||
|
||||
// StateRepo implements session.StateStore using SQLite.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/session"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/session"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/synapse"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/synapse"
|
||||
)
|
||||
|
||||
// SynapseRepo implements synapse.SynapseStore using SQLite.
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ import (
|
|||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/syntrex/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex/gomcp/internal/infrastructure/sqlite"
|
||||
"github.com/syntrex-lab/gomcp/internal/domain/memory"
|
||||
"github.com/syntrex-lab/gomcp/internal/infrastructure/sqlite"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue