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

@@ -4,9 +4,9 @@ import (
"io"
"reflect"
"database.orly/indexes/types"
"interfaces.orly/codec"
"lol.mleku.dev/chk"
"next.orly.dev/pkg/database/indexes/types"
"next.orly.dev/pkg/interfaces/codec"
)
var counter int

View File

@@ -5,9 +5,9 @@ import (
"io"
"testing"
"database.orly/indexes/types"
"lol.mleku.dev/chk"
"utils.orly"
"next.orly.dev/pkg/database/indexes/types"
"next.orly.dev/pkg/utils"
)
// TestNewPrefix tests the NewPrefix function with and without arguments

View File

@@ -3,8 +3,8 @@ package types
import (
"io"
"crypto.orly/sha256"
"lol.mleku.dev/errorf"
"next.orly.dev/pkg/crypto/sha256"
)
const IdLen = sha256.Size

View File

@@ -5,9 +5,9 @@ import (
"testing"
"lol.mleku.dev/chk"
"utils.orly"
"next.orly.dev/pkg/utils"
"crypto.orly/sha256"
"next.orly.dev/pkg/crypto/sha256"
)
func TestFromId(t *testing.T) {

View File

@@ -3,7 +3,7 @@ package types
import (
"io"
"crypto.orly/sha256"
"next.orly.dev/pkg/crypto/sha256"
)
const IdentLen = 8

View File

@@ -4,9 +4,9 @@ import (
"bytes"
"testing"
"crypto.orly/sha256"
"lol.mleku.dev/chk"
"utils.orly"
"next.orly.dev/pkg/crypto/sha256"
"next.orly.dev/pkg/utils"
)
func TestFromIdent(t *testing.T) {

View File

@@ -4,10 +4,10 @@ import (
"encoding/base64"
"io"
"crypto.orly/sha256"
"encoders.orly/hex"
"lol.mleku.dev/chk"
"lol.mleku.dev/errorf"
"next.orly.dev/pkg/crypto/sha256"
"next.orly.dev/pkg/encoders/hex"
)
const IdHashLen = 8

View File

@@ -5,10 +5,10 @@ import (
"encoding/base64"
"testing"
"crypto.orly/sha256"
"encoders.orly/hex"
"lol.mleku.dev/chk"
"utils.orly"
"next.orly.dev/pkg/crypto/sha256"
"next.orly.dev/pkg/encoders/hex"
"next.orly.dev/pkg/utils"
)
func TestFromIdHash(t *testing.T) {

View File

@@ -3,11 +3,11 @@ package types
import (
"io"
"crypto.orly/ec/schnorr"
"crypto.orly/sha256"
"encoders.orly/hex"
"lol.mleku.dev/chk"
"lol.mleku.dev/errorf"
"next.orly.dev/pkg/crypto/ec/schnorr"
"next.orly.dev/pkg/crypto/sha256"
"next.orly.dev/pkg/encoders/hex"
)
const PubHashLen = 8

View File

@@ -4,11 +4,11 @@ import (
"bytes"
"testing"
"crypto.orly/ec/schnorr"
"crypto.orly/sha256"
"encoders.orly/hex"
"lol.mleku.dev/chk"
"utils.orly"
"next.orly.dev/pkg/crypto/ec/schnorr"
"next.orly.dev/pkg/crypto/sha256"
"next.orly.dev/pkg/encoders/hex"
"next.orly.dev/pkg/utils"
)
func TestPubHash_FromPubkey(t *testing.T) {

View File

@@ -8,7 +8,7 @@ import (
"lol.mleku.dev/chk"
"lukechampine.com/frand"
"utils.orly"
"next.orly.dev/pkg/utils"
)
func TestUint16(t *testing.T) {

View File

@@ -8,7 +8,7 @@ import (
"lol.mleku.dev/chk"
"lukechampine.com/frand"
"utils.orly"
"next.orly.dev/pkg/utils"
)
func TestUint32(t *testing.T) {

View File

@@ -8,7 +8,7 @@ import (
"lol.mleku.dev/chk"
"lukechampine.com/frand"
"utils.orly"
"next.orly.dev/pkg/utils"
)
func TestUint64(t *testing.T) {

View File

@@ -4,9 +4,9 @@ import (
"bytes"
"testing"
"database.orly/indexes/types"
"lol.mleku.dev/chk"
"utils.orly"
"next.orly.dev/pkg/database/indexes/types"
"next.orly.dev/pkg/utils"
)
func TestT(t *testing.T) {