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

@@ -3,8 +3,8 @@
package p256k
import (
"crypto.orly/p256k/btcec"
"lol.mleku.dev/log"
"next.orly.dev/pkg/crypto/p256k/btcec"
)
func init() {

View File

@@ -4,11 +4,11 @@
package btcec
import (
"crypto.orly/ec/schnorr"
"crypto.orly/ec/secp256k1"
"interfaces.orly/signer"
"lol.mleku.dev/chk"
"lol.mleku.dev/errorf"
"next.orly.dev/pkg/crypto/ec/schnorr"
"next.orly.dev/pkg/crypto/ec/secp256k1"
"next.orly.dev/pkg/interfaces/signer"
)
// Signer is an implementation of signer.I that uses the btcec library.

View File

@@ -6,10 +6,10 @@ import (
"testing"
"time"
"crypto.orly/p256k/btcec"
"lol.mleku.dev/chk"
"lol.mleku.dev/log"
"utils.orly"
"next.orly.dev/pkg/crypto/p256k/btcec"
"next.orly.dev/pkg/utils"
)
func TestSigner_Generate(t *testing.T) {

View File

@@ -3,9 +3,9 @@
package btcec
import (
"encoders.orly/hex"
"interfaces.orly/signer"
"lol.mleku.dev/chk"
"next.orly.dev/pkg/encoders/hex"
"next.orly.dev/pkg/interfaces/signer"
)
func NewSecFromHex[V []byte | string](skh V) (sign signer.I, err error) {

View File

@@ -3,9 +3,9 @@
package p256k
import (
"encoders.orly/hex"
"interfaces.orly/signer"
"lol.mleku.dev/chk"
"next.orly.dev/pkg/encoders/hex"
"next.orly.dev/pkg/interfaces/signer"
)
func NewSecFromHex[V []byte | string](skh V) (sign signer.I, err error) {

View File

@@ -4,12 +4,12 @@ package p256k
import "C"
import (
"crypto.orly/ec"
"crypto.orly/ec/secp256k1"
"interfaces.orly/signer"
"lol.mleku.dev/chk"
"lol.mleku.dev/errorf"
"lol.mleku.dev/log"
"next.orly.dev/pkg/crypto/ec"
"next.orly.dev/pkg/crypto/ec/secp256k1"
"next.orly.dev/pkg/interfaces/signer"
)
func init() {

View File

@@ -6,11 +6,11 @@ import (
"testing"
"time"
"crypto.orly/p256k"
"interfaces.orly/signer"
"lol.mleku.dev/chk"
"lol.mleku.dev/log"
"utils.orly"
"next.orly.dev/pkg/crypto/p256k"
"next.orly.dev/pkg/interfaces/signer"
"next.orly.dev/pkg/utils"
)
func TestSigner_Generate(t *testing.T) {

View File

@@ -6,12 +6,12 @@ import (
"crypto/rand"
"unsafe"
"crypto.orly/ec/schnorr"
"crypto.orly/ec/secp256k1"
"crypto.orly/sha256"
"lol.mleku.dev/chk"
"lol.mleku.dev/errorf"
"lol.mleku.dev/log"
"next.orly.dev/pkg/crypto/ec/schnorr"
"next.orly.dev/pkg/crypto/ec/secp256k1"
"next.orly.dev/pkg/crypto/sha256"
)
/*