Migrate internal module imports to unified package path.

Replaced legacy `*.orly` module imports with `next.orly.dev/pkg` paths across the codebase for consistency. Removed legacy `go.mod` files from sub-packages, consolidating dependency management. Added Dockerfiles and configurations for benchmarking environments.
This commit is contained in:
2025-09-12 16:12:31 +01:00
parent 2dd119401b
commit 110223fc4e
236 changed files with 4098 additions and 1253 deletions

View File

@@ -5,14 +5,14 @@ package authenvelope
import (
"io"
"encoders.orly/envelopes"
"encoders.orly/event"
"encoders.orly/text"
"interfaces.orly/codec"
"lol.mleku.dev/chk"
"lol.mleku.dev/errorf"
"utils.orly/constraints"
"utils.orly/units"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/event"
"next.orly.dev/pkg/encoders/text"
"next.orly.dev/pkg/interfaces/codec"
"next.orly.dev/pkg/utils/constraints"
"next.orly.dev/pkg/utils/units"
)
// L is the label associated with this type of codec.Envelope.

View File

@@ -3,12 +3,12 @@ package authenvelope
import (
"testing"
"crypto.orly/p256k"
"encoders.orly/envelopes"
"lol.mleku.dev/chk"
"protocol.orly/auth"
"utils.orly"
"utils.orly/bufpool"
"next.orly.dev/pkg/crypto/p256k"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/protocol/auth"
"next.orly.dev/pkg/utils"
"next.orly.dev/pkg/utils/bufpool"
)
const relayURL = "wss://example.com"

View File

@@ -6,10 +6,10 @@ package closedenvelope
import (
"io"
"encoders.orly/envelopes"
"encoders.orly/text"
"interfaces.orly/codec"
"lol.mleku.dev/chk"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/text"
"next.orly.dev/pkg/interfaces/codec"
)
// L is the label associated with this type of codec.Envelope.

View File

@@ -5,10 +5,10 @@ import (
"math"
"testing"
"encoders.orly/envelopes"
"lol.mleku.dev/chk"
"utils.orly"
"utils.orly/bufpool"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/utils"
"next.orly.dev/pkg/utils/bufpool"
"lukechampine.com/frand"
)

View File

@@ -5,10 +5,10 @@ package closeenvelope
import (
"io"
"encoders.orly/envelopes"
"encoders.orly/text"
"interfaces.orly/codec"
"lol.mleku.dev/chk"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/text"
"next.orly.dev/pkg/interfaces/codec"
)
// L is the label associated with this type of codec.Envelope.

View File

@@ -5,11 +5,11 @@ import (
"math"
"testing"
"encoders.orly/envelopes"
"lol.mleku.dev/chk"
"lukechampine.com/frand"
"utils.orly"
"utils.orly/bufpool"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/utils"
"next.orly.dev/pkg/utils/bufpool"
)
func TestMarshalUnmarshal(t *testing.T) {

View File

@@ -6,14 +6,14 @@ import (
"bytes"
"io"
"encoders.orly/envelopes"
"encoders.orly/filter"
"encoders.orly/ints"
"encoders.orly/text"
"interfaces.orly/codec"
"lol.mleku.dev/chk"
"lol.mleku.dev/errorf"
"utils.orly/constraints"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/filter"
"next.orly.dev/pkg/encoders/ints"
"next.orly.dev/pkg/encoders/text"
"next.orly.dev/pkg/interfaces/codec"
"next.orly.dev/pkg/utils/constraints"
)
// L is the label associated with this type of codec.Envelope.

View File

@@ -3,12 +3,12 @@ package countenvelope
import (
"testing"
"encoders.orly/envelopes"
"encoders.orly/filter"
"lol.mleku.dev/chk"
"lukechampine.com/frand"
"utils.orly"
"utils.orly/bufpool"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/filter"
"next.orly.dev/pkg/utils"
"next.orly.dev/pkg/utils/bufpool"
)
func TestRequest(t *testing.T) {

View File

@@ -7,10 +7,10 @@ package eoseenvelope
import (
"io"
"encoders.orly/envelopes"
"encoders.orly/text"
"interfaces.orly/codec"
"lol.mleku.dev/chk"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/text"
"next.orly.dev/pkg/interfaces/codec"
)
// L is the label associated with this type of codec.Envelope.

View File

@@ -3,9 +3,9 @@ package eoseenvelope
import (
"testing"
"encoders.orly/envelopes"
"lol.mleku.dev/chk"
"utils.orly"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/utils"
)
func TestMarshalUnmarshal(t *testing.T) {

View File

@@ -5,15 +5,15 @@ package eventenvelope
import (
"io"
"encoders.orly/envelopes"
"encoders.orly/event"
"encoders.orly/text"
"interfaces.orly/codec"
"lol.mleku.dev/chk"
"lol.mleku.dev/errorf"
"utils.orly/bufpool"
"utils.orly/constraints"
"utils.orly/units"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/event"
"next.orly.dev/pkg/encoders/text"
"next.orly.dev/pkg/interfaces/codec"
"next.orly.dev/pkg/utils/bufpool"
"next.orly.dev/pkg/utils/constraints"
"next.orly.dev/pkg/utils/units"
)
// L is the label associated with this type of codec.Envelope.

View File

@@ -5,12 +5,12 @@ import (
"bytes"
"testing"
"encoders.orly/envelopes"
"encoders.orly/event"
"encoders.orly/event/examples"
"lol.mleku.dev/chk"
"utils.orly"
"utils.orly/bufpool"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/event"
"next.orly.dev/pkg/encoders/event/examples"
"next.orly.dev/pkg/utils"
"next.orly.dev/pkg/utils/bufpool"
)
func TestSubmission(t *testing.T) {

View File

@@ -6,11 +6,11 @@ package noticeenvelope
import (
"io"
"encoders.orly/envelopes"
"encoders.orly/text"
"interfaces.orly/codec"
"lol.mleku.dev/chk"
"utils.orly/constraints"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/text"
"next.orly.dev/pkg/interfaces/codec"
"next.orly.dev/pkg/utils/constraints"
)
// L is the label associated with this type of codec.Envelope.

View File

@@ -3,10 +3,10 @@ package noticeenvelope
import (
"testing"
"encoders.orly/envelopes"
"encoders.orly/envelopes/messages"
"lol.mleku.dev/chk"
"utils.orly"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/envelopes/messages"
"next.orly.dev/pkg/utils"
)
func TestMarshalUnmarshal(t *testing.T) {

View File

@@ -6,15 +6,15 @@ package okenvelope
import (
"io"
"crypto.orly/sha256"
"encoders.orly/envelopes"
"encoders.orly/hex"
"encoders.orly/text"
"interfaces.orly/codec"
"lol.mleku.dev/chk"
"lol.mleku.dev/errorf"
"lol.mleku.dev/log"
"utils.orly/constraints"
"next.orly.dev/pkg/crypto/sha256"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/hex"
"next.orly.dev/pkg/encoders/text"
"next.orly.dev/pkg/interfaces/codec"
"next.orly.dev/pkg/utils/constraints"
)
// L is the label associated with this type of codec.Envelope.

View File

@@ -3,12 +3,12 @@ package okenvelope
import (
"testing"
"crypto.orly/sha256"
"encoders.orly/envelopes"
"encoders.orly/envelopes/messages"
"lol.mleku.dev/chk"
"lukechampine.com/frand"
"utils.orly"
"next.orly.dev/pkg/crypto/sha256"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/envelopes/messages"
"next.orly.dev/pkg/utils"
)
func TestMarshalUnmarshal(t *testing.T) {

View File

@@ -5,12 +5,12 @@ package reqenvelope
import (
"io"
"encoders.orly/envelopes"
"encoders.orly/filter"
"encoders.orly/text"
"interfaces.orly/codec"
"lol.mleku.dev/chk"
"utils.orly/constraints"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/filter"
"next.orly.dev/pkg/encoders/text"
"next.orly.dev/pkg/interfaces/codec"
"next.orly.dev/pkg/utils/constraints"
)
// L is the label associated with this type of codec.Envelope.

View File

@@ -3,11 +3,11 @@ package reqenvelope
import (
"testing"
"encoders.orly/envelopes"
"encoders.orly/filter"
"lol.mleku.dev/chk"
"utils.orly"
"utils.orly/bufpool"
"next.orly.dev/pkg/encoders/envelopes"
"next.orly.dev/pkg/encoders/filter"
"next.orly.dev/pkg/utils"
"next.orly.dev/pkg/utils/bufpool"
)
func TestMarshalUnmarshal(t *testing.T) {