From 1983aaa5496aba72bca943874d2749e38e63128b Mon Sep 17 00:00:00 2001 From: mleku Date: Mon, 16 Sep 2024 19:21:34 +0100 Subject: [PATCH] changing to new domain --- appdata/util.go | 4 +- apputil/util.go | 4 +- atomic/example_test.go | 2 +- atomic/tools/util.go | 4 +- auth/nip42.go | 10 ++--- auth/nip42_test.go | 2 +- auth/util.go | 4 +- bech32encoding/keys.go | 10 ++--- bech32encoding/keys_test.go | 4 +- bech32encoding/nip19.go | 14 +++---- bech32encoding/nip19_test.go | 8 ++-- bech32encoding/pointers/pointers.go | 4 +- bech32encoding/pointers/util.go | 4 +- bech32encoding/util.go | 4 +- cmd/lerproxy/buf/util.go | 4 +- cmd/lerproxy/hsts/util.go | 4 +- cmd/lerproxy/main.go | 12 +++--- cmd/lerproxy/reverse/proxy.go | 2 +- cmd/lerproxy/reverse/util.go | 4 +- cmd/lerproxy/tcpkeepalive/listener.go | 2 +- cmd/lerproxy/tcpkeepalive/util.go | 4 +- cmd/lerproxy/timeout/util.go | 4 +- cmd/lerproxy/util.go | 4 +- cmd/relay/main.go | 12 +++--- cmd/relay/util.go | 4 +- cmd/vainstr/main.go | 14 +++---- cmd/vainstr/util.go | 4 +- context/util.go | 2 +- dns/nip05.go | 4 +- dns/nip05_test.go | 4 +- dns/util.go | 4 +- ec/base58/base58_test.go | 2 +- ec/base58/base58bench_test.go | 2 +- ec/base58/base58check.go | 2 +- ec/base58/base58check_test.go | 2 +- ec/base58/example_test.go | 2 +- ec/bech32/util.go | 4 +- ec/bench_test.go | 4 +- ec/btcec.go | 2 +- ec/chaincfg/deployment_time_frame.go | 2 +- ec/chaincfg/genesis.go | 4 +- ec/chaincfg/params.go | 4 +- ec/chaincfg/util.go | 4 +- ec/chainhash/hash.go | 4 +- ec/chainhash/hashfuncs.go | 2 +- ec/chainhash/util.go | 4 +- ec/ciphering.go | 2 +- ec/curve.go | 2 +- ec/ecdsa/bench_test.go | 4 +- ec/ecdsa/signature.go | 2 +- ec/ecdsa/signature_test.go | 4 +- ec/ecdsa/util.go | 4 +- ec/error.go | 2 +- ec/field.go | 2 +- ec/field_test.go | 2 +- ec/fuzz_test.go | 2 +- ec/hex/util.go | 4 +- ec/modnscalar.go | 2 +- ec/musig2/bench_test.go | 6 +-- ec/musig2/context.go | 4 +- ec/musig2/keys.go | 8 ++-- ec/musig2/keys_test.go | 8 ++-- ec/musig2/musig2_test.go | 6 +-- ec/musig2/nonces.go | 6 +-- ec/musig2/nonces_test.go | 2 +- ec/musig2/sign.go | 8 ++-- ec/musig2/sign_test.go | 6 +-- ec/musig2/util.go | 4 +- ec/pubkey.go | 2 +- ec/schnorr/bench_test.go | 8 ++-- ec/schnorr/pubkey.go | 4 +- ec/schnorr/signature.go | 6 +-- ec/schnorr/signature_test.go | 6 +-- ec/schnorr/util.go | 4 +- ec/seckey.go | 2 +- ec/secp256k1/curve.go | 2 +- ec/secp256k1/example_test.go | 6 +-- ec/secp256k1/field.go | 2 +- ec/secp256k1/field_test.go | 2 +- ec/secp256k1/modnscalar.go | 2 +- ec/secp256k1/modnscalar_test.go | 2 +- ec/secp256k1/nonce.go | 2 +- ec/secp256k1/nonce_test.go | 4 +- ec/secp256k1/precomps/genprecomps.go | 2 +- ec/secp256k1/util.go | 4 +- ec/taproot/taproot.go | 4 +- ec/taproot/util.go | 4 +- ec/util.go | 4 +- ec/wire/blockheader.go | 2 +- ec/wire/msgtx.go | 2 +- ec/wire/util.go | 4 +- encryption/nip4.go | 4 +- encryption/nip44.go | 2 +- encryption/nip44_test.go | 4 +- encryption/util.go | 4 +- envelopes/authenvelope/authenvelope.go | 8 ++-- envelopes/authenvelope/authenvelope_test.go | 6 +-- envelopes/authenvelope/util.go | 4 +- envelopes/closedenvelope/closedenvelope.go | 8 ++-- .../closedenvelope/closedenvelope_test.go | 4 +- envelopes/closedenvelope/util.go | 4 +- envelopes/closeenvelope/closeenvelope.go | 6 +-- envelopes/closeenvelope/closeenvelope_test.go | 4 +- envelopes/closeenvelope/util.go | 4 +- envelopes/countenvelope/countenvelope.go | 12 +++--- envelopes/countenvelope/countenvelope_test.go | 6 +-- envelopes/countenvelope/util.go | 4 +- envelopes/eoseenvelope/eoseenvelope.go | 6 +-- envelopes/eoseenvelope/eoseenvelope_test.go | 4 +- envelopes/eoseenvelope/util.go | 4 +- envelopes/eventenvelope/eventenvelope.go | 8 ++-- envelopes/eventenvelope/eventenvelope_test.go | 8 ++-- envelopes/eventenvelope/util.go | 4 +- envelopes/messages/util.go | 4 +- envelopes/noticeenvelope/noticeenvelope.go | 6 +-- .../noticeenvelope/noticeenvelope_test.go | 4 +- envelopes/noticeenvelope/util.go | 4 +- envelopes/okenvelope/okenvelope.go | 8 ++-- envelopes/okenvelope/okenvelope_test.go | 6 +-- envelopes/okenvelope/util.go | 4 +- envelopes/reqenvelope/reqenvelope.go | 10 ++--- envelopes/reqenvelope/reqenvelope_test.go | 6 +-- envelopes/reqenvelope/util.go | 4 +- envelopes/util.go | 4 +- event/binarymarshal.go | 12 +++--- event/binaryunmarshal.go | 14 +++---- event/event.go | 16 ++++---- event/event_test.go | 4 +- event/examples/util.go | 4 +- event/jsonmarshal.go | 4 +- event/jsonunmarshal.go | 12 +++--- event/signatures.go | 8 ++-- event/util.go | 4 +- eventid/eventid.go | 4 +- eventid/util.go | 4 +- filter/filter.go | 24 ++++++------ filter/util.go | 4 +- filters/filters.go | 4 +- filters/util.go | 4 +- go.mod | 4 +- hex/util.go | 4 +- interrupt/main.go | 4 +- interrupt/util.go | 4 +- ints/gen/util.go | 2 +- ints/util.go | 4 +- keys/keys.go | 8 ++-- keys/util.go | 4 +- kind/kind.go | 2 +- kind/util.go | 4 +- kinds/kinds.go | 4 +- kinds/kinds_test.go | 2 +- kinds/util.go | 4 +- lol/log.go | 2 +- nip86/methods.go | 2 +- nip86/util.go | 4 +- normalize/normalize.go | 2 +- normalize/util.go | 4 +- number/util.go | 4 +- p256k/btcec.go | 2 +- p256k/btcec/btcec.go | 8 ++-- p256k/btcec/btcec_test.go | 10 ++--- p256k/btcec/util.go | 4 +- p256k/btcec/util_test.go | 4 +- p256k/p256k.go | 4 +- p256k/p256k_test.go | 10 ++--- p256k/secp256k1.go | 6 +-- p256k/secp256k1_test.go | 10 ++--- p256k/util.go | 4 +- p256k/util_test.go | 4 +- qu/qu.go | 4 +- qu/util.go | 4 +- ratel/countevents.go | 4 +- ratel/deleteevent.go | 12 +++--- ratel/getecounterkey.go | 4 +- ratel/getindexkeysforevent.go | 20 +++++----- ratel/gettagkeyelements.go | 18 ++++----- ratel/gettagkeyprefix.go | 14 +++---- ratel/init.go | 4 +- ratel/keys/arb/arb.go | 2 +- ratel/keys/arb/util.go | 4 +- ratel/keys/count/count.go | 2 +- ratel/keys/count/util.go | 4 +- ratel/keys/createdat/createdat.go | 6 +-- ratel/keys/createdat/createdat_test.go | 2 +- ratel/keys/createdat/util.go | 4 +- ratel/keys/id/id.go | 6 +-- ratel/keys/id/id_test.go | 4 +- ratel/keys/id/util.go | 4 +- ratel/keys/index/index.go | 2 +- ratel/keys/index/prefixes.go | 12 +++--- ratel/keys/index/util.go | 4 +- ratel/keys/keys_test.go | 22 +++++------ ratel/keys/kinder/kind.go | 4 +- ratel/keys/kinder/kind_test.go | 2 +- ratel/keys/kinder/util.go | 4 +- ratel/keys/pubkey/pubkey.go | 4 +- ratel/keys/pubkey/pubkey_test.go | 2 +- ratel/keys/pubkey/util.go | 4 +- ratel/keys/serial/serial.go | 2 +- ratel/keys/serial/serial_test.go | 2 +- ratel/keys/serial/util.go | 4 +- ratel/log.go | 4 +- ratel/main.go | 8 ++-- ratel/nuke.go | 2 +- ratel/preparequeries.go | 18 ++++----- ratel/queryevents.go | 14 +++---- ratel/saveevent.go | 20 +++++----- ratel/util.go | 4 +- relay/add-event.go | 6 +-- relay/broadcasting.go | 2 +- relay/handlers.go | 38 +++++++++---------- relay/interface.go | 8 ++-- relay/listener.go | 8 ++-- relay/start.go | 2 +- relay/start_test.go | 2 +- relay/util.go | 4 +- relay/util_test.go | 6 +-- relay/websocket.go | 2 +- relayinfo/fetch.go | 4 +- relayinfo/types.go | 6 +-- relayinfo/util.go | 4 +- store/alias.go | 6 +-- store/helpers.go | 2 +- store/relay_interface.go | 6 +-- store/store_interface.go | 6 +-- store/util.go | 4 +- store/utils.go | 4 +- subscriptionid/subscriptionid.go | 4 +- subscriptionid/util.go | 4 +- tag/tag.go | 4 +- tag/util.go | 4 +- tags/tags.go | 2 +- tags/tags_test.go | 2 +- tags/util.go | 4 +- tests/generate.go | 10 ++--- tests/util.go | 4 +- text/escape_test.go | 2 +- text/helpers.go | 8 ++-- text/helpers_test.go | 4 +- text/hex.go | 2 +- text/util.go | 4 +- timestamp/timestamp.go | 2 +- timestamp/util.go | 4 +- units/util.go | 4 +- util.go | 4 +- ws/client.go | 34 ++++++++--------- ws/client_test.go | 20 +++++----- ws/pool.go | 14 +++---- ws/relayws.go | 10 ++--- ws/subscription.go | 14 +++---- ws/subscription_test.go | 12 +++--- ws/util.go | 4 +- 252 files changed, 686 insertions(+), 688 deletions(-) diff --git a/appdata/util.go b/appdata/util.go index ec575f3..5054f80 100644 --- a/appdata/util.go +++ b/appdata/util.go @@ -3,8 +3,8 @@ package appdata import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/apputil/util.go b/apputil/util.go index 0382cfc..d341033 100644 --- a/apputil/util.go +++ b/apputil/util.go @@ -3,8 +3,8 @@ package apputil import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/atomic/example_test.go b/atomic/example_test.go index a9af4d4..6fe20e8 100644 --- a/atomic/example_test.go +++ b/atomic/example_test.go @@ -23,7 +23,7 @@ package atomic_test import ( "fmt" - "mleku.dev/atomic" + "realy.lol/atomic" ) func Example() { diff --git a/atomic/tools/util.go b/atomic/tools/util.go index 4ba8b10..c838ef8 100644 --- a/atomic/tools/util.go +++ b/atomic/tools/util.go @@ -3,8 +3,8 @@ package tools import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/auth/nip42.go b/auth/nip42.go index c80542f..fe02039 100644 --- a/auth/nip42.go +++ b/auth/nip42.go @@ -7,11 +7,11 @@ import ( "strings" "time" - "mleku.dev/event" - "mleku.dev/kind" - "mleku.dev/tag" - "mleku.dev/tags" - "mleku.dev/timestamp" + "realy.lol/event" + "realy.lol/kind" + "realy.lol/tag" + "realy.lol/tags" + "realy.lol/timestamp" ) // GenerateChallenge creates a reasonable, 96 byte base64 challenge string diff --git a/auth/nip42_test.go b/auth/nip42_test.go index 1fc2c2b..cbec5b3 100644 --- a/auth/nip42_test.go +++ b/auth/nip42_test.go @@ -3,7 +3,7 @@ package auth import ( "testing" - "mleku.dev/p256k" + "realy.lol/p256k" ) func TestCreateUnsigned(t *testing.T) { diff --git a/auth/util.go b/auth/util.go index b22ecf7..cbfb89b 100644 --- a/auth/util.go +++ b/auth/util.go @@ -3,8 +3,8 @@ package auth import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/bech32encoding/keys.go b/bech32encoding/keys.go index a7baa73..a451229 100644 --- a/bech32encoding/keys.go +++ b/bech32encoding/keys.go @@ -1,11 +1,11 @@ package bech32encoding import ( - btcec "mleku.dev/ec" - "mleku.dev/ec/bech32" - "mleku.dev/ec/schnorr" - "mleku.dev/ec/secp256k1" - "mleku.dev/hex" + btcec "realy.lol/ec" + "realy.lol/ec/bech32" + "realy.lol/ec/schnorr" + "realy.lol/ec/secp256k1" + "realy.lol/hex" ) const ( diff --git a/bech32encoding/keys_test.go b/bech32encoding/keys_test.go index 5eca685..9ba2db1 100644 --- a/bech32encoding/keys_test.go +++ b/bech32encoding/keys_test.go @@ -5,8 +5,8 @@ import ( "encoding/hex" "testing" - "mleku.dev/ec/schnorr" - "mleku.dev/ec/secp256k1" + "realy.lol/ec/schnorr" + "realy.lol/ec/secp256k1" ) func TestConvertBits(t *testing.T) { diff --git a/bech32encoding/nip19.go b/bech32encoding/nip19.go index 48f4092..0e58e61 100644 --- a/bech32encoding/nip19.go +++ b/bech32encoding/nip19.go @@ -5,13 +5,13 @@ import ( "encoding/binary" "reflect" - "mleku.dev/bech32encoding/pointers" - "mleku.dev/ec/bech32" - "mleku.dev/ec/schnorr" - "mleku.dev/eventid" - "mleku.dev/hex" - "mleku.dev/kind" - "mleku.dev/sha256" + "realy.lol/bech32encoding/pointers" + "realy.lol/ec/bech32" + "realy.lol/ec/schnorr" + "realy.lol/eventid" + "realy.lol/hex" + "realy.lol/kind" + "realy.lol/sha256" ) var ( diff --git a/bech32encoding/nip19_test.go b/bech32encoding/nip19_test.go index 9d374d0..05194ad 100644 --- a/bech32encoding/nip19_test.go +++ b/bech32encoding/nip19_test.go @@ -4,10 +4,10 @@ import ( "reflect" "testing" - "mleku.dev/bech32encoding/pointers" - "mleku.dev/eventid" - "mleku.dev/hex" - "mleku.dev/kind" + "realy.lol/bech32encoding/pointers" + "realy.lol/eventid" + "realy.lol/hex" + "realy.lol/kind" ) func TestEncodeNpub(t *testing.T) { diff --git a/bech32encoding/pointers/pointers.go b/bech32encoding/pointers/pointers.go index 304c54d..9f47265 100644 --- a/bech32encoding/pointers/pointers.go +++ b/bech32encoding/pointers/pointers.go @@ -1,8 +1,8 @@ package pointers import ( - "mleku.dev/eventid" - "mleku.dev/kind" + "realy.lol/eventid" + "realy.lol/kind" ) type Profile struct { diff --git a/bech32encoding/pointers/util.go b/bech32encoding/pointers/util.go index ec1e631..82b002c 100644 --- a/bech32encoding/pointers/util.go +++ b/bech32encoding/pointers/util.go @@ -3,8 +3,8 @@ package pointers import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/bech32encoding/util.go b/bech32encoding/util.go index 5aabb67..1d7860e 100644 --- a/bech32encoding/util.go +++ b/bech32encoding/util.go @@ -3,8 +3,8 @@ package bech32encoding import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/cmd/lerproxy/buf/util.go b/cmd/lerproxy/buf/util.go index 16f228b..31a5b64 100644 --- a/cmd/lerproxy/buf/util.go +++ b/cmd/lerproxy/buf/util.go @@ -3,8 +3,8 @@ package buf import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/cmd/lerproxy/hsts/util.go b/cmd/lerproxy/hsts/util.go index 109a34c..7949759 100644 --- a/cmd/lerproxy/hsts/util.go +++ b/cmd/lerproxy/hsts/util.go @@ -3,8 +3,8 @@ package hsts import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/cmd/lerproxy/main.go b/cmd/lerproxy/main.go index d4a7cfe..9079a94 100644 --- a/cmd/lerproxy/main.go +++ b/cmd/lerproxy/main.go @@ -25,11 +25,11 @@ import ( "github.com/alexflint/go-arg" "golang.org/x/crypto/acme/autocert" "golang.org/x/sync/errgroup" - "mleku.dev/cmd/lerproxy/buf" - "mleku.dev/cmd/lerproxy/hsts" - "mleku.dev/cmd/lerproxy/reverse" - "mleku.dev/cmd/lerproxy/tcpkeepalive" - "mleku.dev/cmd/lerproxy/util" + "realy.lol/cmd/lerproxy/buf" + "realy.lol/cmd/lerproxy/hsts" + "realy.lol/cmd/lerproxy/reverse" + "realy.lol/cmd/lerproxy/tcpkeepalive" + "realy.lol/cmd/lerproxy/util" ) type runArgs struct { @@ -43,7 +43,7 @@ type runArgs struct { RTO time.Duration `arg:"-r,--rto" default:"1m" help:"maximum duration before timing out read of the request"` WTO time.Duration `arg:"-w,--wto" default:"5m" help:"maximum duration before timing out write of the response"` Idle time.Duration `arg:"-i,--idle" help:"how long idle connection is kept before closing (set rto, wto to 0 to use this)"` - Certs []string `arg:"--cert,separate" help:"certificates and the domain they match: eg: mleku.dev:/path/to/cert - this will indicate to load two, one with extension .key and one with .crt, each expected to be PEM encoded TLS private and public keys, respectively"` + Certs []string `arg:"--cert,separate" help:"certificates and the domain they match: eg: realy.lol:/path/to/cert - this will indicate to load two, one with extension .key and one with .crt, each expected to be PEM encoded TLS private and public keys, respectively"` } var args runArgs diff --git a/cmd/lerproxy/reverse/proxy.go b/cmd/lerproxy/reverse/proxy.go index 40d5d48..f119955 100644 --- a/cmd/lerproxy/reverse/proxy.go +++ b/cmd/lerproxy/reverse/proxy.go @@ -5,7 +5,7 @@ import ( "net/http/httputil" "net/url" - "mleku.dev/cmd/lerproxy/util" + "realy.lol/cmd/lerproxy/util" ) // NewSingleHostReverseProxy is a copy of httputil.NewSingleHostReverseProxy diff --git a/cmd/lerproxy/reverse/util.go b/cmd/lerproxy/reverse/util.go index 4b271c3..160c4d9 100644 --- a/cmd/lerproxy/reverse/util.go +++ b/cmd/lerproxy/reverse/util.go @@ -3,8 +3,8 @@ package reverse import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/cmd/lerproxy/tcpkeepalive/listener.go b/cmd/lerproxy/tcpkeepalive/listener.go index 531905d..a5cfd8b 100644 --- a/cmd/lerproxy/tcpkeepalive/listener.go +++ b/cmd/lerproxy/tcpkeepalive/listener.go @@ -4,7 +4,7 @@ import ( "net" "time" - "mleku.dev/cmd/lerproxy/timeout" + "realy.lol/cmd/lerproxy/timeout" ) // Period can be changed prior to opening a Listener to alter its' diff --git a/cmd/lerproxy/tcpkeepalive/util.go b/cmd/lerproxy/tcpkeepalive/util.go index d37b111..4fd8acb 100644 --- a/cmd/lerproxy/tcpkeepalive/util.go +++ b/cmd/lerproxy/tcpkeepalive/util.go @@ -3,8 +3,8 @@ package tcpkeepalive import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/cmd/lerproxy/timeout/util.go b/cmd/lerproxy/timeout/util.go index 63b9668..f9df56c 100644 --- a/cmd/lerproxy/timeout/util.go +++ b/cmd/lerproxy/timeout/util.go @@ -3,8 +3,8 @@ package timeout import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/cmd/lerproxy/util.go b/cmd/lerproxy/util.go index a812b1a..63785f0 100644 --- a/cmd/lerproxy/util.go +++ b/cmd/lerproxy/util.go @@ -3,8 +3,8 @@ package main import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/cmd/relay/main.go b/cmd/relay/main.go index c504048..6e9ac02 100644 --- a/cmd/relay/main.go +++ b/cmd/relay/main.go @@ -8,12 +8,12 @@ import ( "sync" "github.com/kelseyhightower/envconfig" - "mleku.dev/event" - "mleku.dev/lol" - "mleku.dev/ratel" - realy "mleku.dev/relay" - eventstore "mleku.dev/store" - "mleku.dev/units" + "realy.lol/event" + "realy.lol/lol" + "realy.lol/ratel" + realy "realy.lol/relay" + eventstore "realy.lol/store" + "realy.lol/units" ) type Relay struct { diff --git a/cmd/relay/util.go b/cmd/relay/util.go index a812b1a..63785f0 100644 --- a/cmd/relay/util.go +++ b/cmd/relay/util.go @@ -3,8 +3,8 @@ package main import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/cmd/vainstr/main.go b/cmd/vainstr/main.go index 47eedcb..f05158a 100644 --- a/cmd/vainstr/main.go +++ b/cmd/vainstr/main.go @@ -11,13 +11,13 @@ import ( "time" arg "github.com/alexflint/go-arg" - "mleku.dev/atomic" - "mleku.dev/bech32encoding" - "mleku.dev/ec/bech32" - "mleku.dev/ec/schnorr" - "mleku.dev/ec/secp256k1" - "mleku.dev/interrupt" - "mleku.dev/qu" + "realy.lol/atomic" + "realy.lol/bech32encoding" + "realy.lol/ec/bech32" + "realy.lol/ec/schnorr" + "realy.lol/ec/secp256k1" + "realy.lol/interrupt" + "realy.lol/qu" ) var prefix = append(bech32encoding.PubHRP, '1') diff --git a/cmd/vainstr/util.go b/cmd/vainstr/util.go index a812b1a..63785f0 100644 --- a/cmd/vainstr/util.go +++ b/cmd/vainstr/util.go @@ -3,8 +3,8 @@ package main import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/context/util.go b/context/util.go index e1063a1..25d75f0 100644 --- a/context/util.go +++ b/context/util.go @@ -3,7 +3,7 @@ package context import ( "bytes" - "mleku.dev/lol" + "realy.lol/lol" ) type ( diff --git a/dns/nip05.go b/dns/nip05.go index dd3edbf..83c02af 100644 --- a/dns/nip05.go +++ b/dns/nip05.go @@ -7,8 +7,8 @@ import ( "regexp" "strings" - "mleku.dev/bech32encoding/pointers" - "mleku.dev/keys" + "realy.lol/bech32encoding/pointers" + "realy.lol/keys" ) var Nip05Regex = regexp.MustCompile(`^(?:([\w.+-]+)@)?([\w_-]+(\.[\w_-]+)+)$`) diff --git a/dns/nip05_test.go b/dns/nip05_test.go index 550d402..f320700 100644 --- a/dns/nip05_test.go +++ b/dns/nip05_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "mleku.dev/bech32encoding/pointers" - "mleku.dev/keys" + "realy.lol/bech32encoding/pointers" + "realy.lol/keys" ) func TestParse(t *testing.T) { diff --git a/dns/util.go b/dns/util.go index b85c2ea..9fea244 100644 --- a/dns/util.go +++ b/dns/util.go @@ -3,8 +3,8 @@ package dns import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ec/base58/base58_test.go b/ec/base58/base58_test.go index 1aacf3c..8a1c166 100644 --- a/ec/base58/base58_test.go +++ b/ec/base58/base58_test.go @@ -9,7 +9,7 @@ import ( "encoding/hex" "testing" - "mleku.dev/ec/base58" + "realy.lol/ec/base58" ) var stringTests = []struct { diff --git a/ec/base58/base58bench_test.go b/ec/base58/base58bench_test.go index 7008da6..a8173a6 100644 --- a/ec/base58/base58bench_test.go +++ b/ec/base58/base58bench_test.go @@ -8,7 +8,7 @@ import ( "bytes" "testing" - "mleku.dev/ec/base58" + "realy.lol/ec/base58" ) var ( diff --git a/ec/base58/base58check.go b/ec/base58/base58check.go index 063cdba..2f34ca6 100644 --- a/ec/base58/base58check.go +++ b/ec/base58/base58check.go @@ -7,7 +7,7 @@ package base58 import ( "errors" - "mleku.dev/sha256" + "realy.lol/sha256" ) // ErrChecksum indicates that the checksum of a check-encoded string does not verify against diff --git a/ec/base58/base58check_test.go b/ec/base58/base58check_test.go index 7c0a140..dfb84ce 100644 --- a/ec/base58/base58check_test.go +++ b/ec/base58/base58check_test.go @@ -7,7 +7,7 @@ package base58_test import ( "testing" - "mleku.dev/ec/base58" + "realy.lol/ec/base58" ) var checkEncodingStringTests = []struct { diff --git a/ec/base58/example_test.go b/ec/base58/example_test.go index 7f326b1..e3c161e 100644 --- a/ec/base58/example_test.go +++ b/ec/base58/example_test.go @@ -7,7 +7,7 @@ package base58_test import ( "fmt" - "mleku.dev/ec/base58" + "realy.lol/ec/base58" ) // This example demonstrates how to decode modified base58 encoded data. diff --git a/ec/bech32/util.go b/ec/bech32/util.go index 86df73a..00f8a7a 100644 --- a/ec/bech32/util.go +++ b/ec/bech32/util.go @@ -3,8 +3,8 @@ package bech32 import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ec/bench_test.go b/ec/bench_test.go index 43ccd4d..9d36959 100644 --- a/ec/bench_test.go +++ b/ec/bench_test.go @@ -8,8 +8,8 @@ import ( "math/big" "testing" - "mleku.dev/ec/secp256k1" - "mleku.dev/hex" + "realy.lol/ec/secp256k1" + "realy.lol/hex" ) // setHex decodes the passed big-endian hex string into the internal field value diff --git a/ec/btcec.go b/ec/btcec.go index c994692..ccf0120 100644 --- a/ec/btcec.go +++ b/ec/btcec.go @@ -20,7 +20,7 @@ package btcec // reverse the transform than to operate in affine coordinates. import ( - "mleku.dev/ec/secp256k1" + "realy.lol/ec/secp256k1" ) // KoblitzCurve provides an implementation for secp256k1 that fits the ECC diff --git a/ec/chaincfg/deployment_time_frame.go b/ec/chaincfg/deployment_time_frame.go index 8b5df62..c4fe7d3 100644 --- a/ec/chaincfg/deployment_time_frame.go +++ b/ec/chaincfg/deployment_time_frame.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "mleku.dev/ec/wire" + "realy.lol/ec/wire" ) var ( diff --git a/ec/chaincfg/genesis.go b/ec/chaincfg/genesis.go index 644f907..c1e2c63 100644 --- a/ec/chaincfg/genesis.go +++ b/ec/chaincfg/genesis.go @@ -3,8 +3,8 @@ package chaincfg import ( "time" - "mleku.dev/ec/chainhash" - "mleku.dev/ec/wire" + "realy.lol/ec/chainhash" + "realy.lol/ec/wire" ) var ( diff --git a/ec/chaincfg/params.go b/ec/chaincfg/params.go index d4d2e83..2a6373e 100644 --- a/ec/chaincfg/params.go +++ b/ec/chaincfg/params.go @@ -4,8 +4,8 @@ import ( "math/big" "time" - "mleku.dev/ec/chainhash" - "mleku.dev/ec/wire" + "realy.lol/ec/chainhash" + "realy.lol/ec/wire" ) var ( diff --git a/ec/chaincfg/util.go b/ec/chaincfg/util.go index a6963fd..9c29d85 100644 --- a/ec/chaincfg/util.go +++ b/ec/chaincfg/util.go @@ -3,8 +3,8 @@ package chaincfg import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ec/chainhash/hash.go b/ec/chainhash/hash.go index d9144ba..9e684fe 100644 --- a/ec/chainhash/hash.go +++ b/ec/chainhash/hash.go @@ -9,8 +9,8 @@ import ( "encoding/json" "fmt" - "mleku.dev/hex" - "mleku.dev/sha256" + "realy.lol/hex" + "realy.lol/sha256" ) const ( diff --git a/ec/chainhash/hashfuncs.go b/ec/chainhash/hashfuncs.go index 98b5fcd..b039506 100644 --- a/ec/chainhash/hashfuncs.go +++ b/ec/chainhash/hashfuncs.go @@ -5,7 +5,7 @@ package chainhash -import "mleku.dev/sha256" +import "realy.lol/sha256" // HashB calculates hash(b) and returns the resulting bytes. func HashB(b []byte) []byte { diff --git a/ec/chainhash/util.go b/ec/chainhash/util.go index ae36c81..eb858ec 100644 --- a/ec/chainhash/util.go +++ b/ec/chainhash/util.go @@ -3,8 +3,8 @@ package chainhash import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ec/ciphering.go b/ec/ciphering.go index f31ec64..e952339 100644 --- a/ec/ciphering.go +++ b/ec/ciphering.go @@ -5,7 +5,7 @@ package btcec import ( - "mleku.dev/ec/secp256k1" + "realy.lol/ec/secp256k1" ) // GenerateSharedSecret generates a shared secret based on a secret key and a diff --git a/ec/curve.go b/ec/curve.go index c0c5073..33a701e 100644 --- a/ec/curve.go +++ b/ec/curve.go @@ -6,7 +6,7 @@ package btcec import ( "fmt" - "mleku.dev/ec/secp256k1" + "realy.lol/ec/secp256k1" ) // JacobianPoint is an element of the group formed by the secp256k1 curve in diff --git a/ec/ecdsa/bench_test.go b/ec/ecdsa/bench_test.go index e595435..bd8a9b8 100644 --- a/ec/ecdsa/bench_test.go +++ b/ec/ecdsa/bench_test.go @@ -8,8 +8,8 @@ package ecdsa import ( "testing" - "mleku.dev/ec/secp256k1" - "mleku.dev/hex" + "realy.lol/ec/secp256k1" + "realy.lol/hex" ) // hexToModNScalar converts the passed hex string into a ModNScalar and will diff --git a/ec/ecdsa/signature.go b/ec/ecdsa/signature.go index 839487c..46a5148 100644 --- a/ec/ecdsa/signature.go +++ b/ec/ecdsa/signature.go @@ -8,7 +8,7 @@ package ecdsa import ( "fmt" - "mleku.dev/ec/secp256k1" + "realy.lol/ec/secp256k1" ) // References: diff --git a/ec/ecdsa/signature_test.go b/ec/ecdsa/signature_test.go index 53f2d60..a919b9e 100644 --- a/ec/ecdsa/signature_test.go +++ b/ec/ecdsa/signature_test.go @@ -14,8 +14,8 @@ import ( "testing" "time" - "mleku.dev/ec/secp256k1" - "mleku.dev/hex" + "realy.lol/ec/secp256k1" + "realy.lol/hex" ) // hexToBytes converts the passed hex string into bytes and will panic if there diff --git a/ec/ecdsa/util.go b/ec/ecdsa/util.go index c7e1a0f..849181d 100644 --- a/ec/ecdsa/util.go +++ b/ec/ecdsa/util.go @@ -3,8 +3,8 @@ package ecdsa import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ec/error.go b/ec/error.go index ca02874..6bd4b59 100644 --- a/ec/error.go +++ b/ec/error.go @@ -4,7 +4,7 @@ package btcec import ( - "mleku.dev/ec/secp256k1" + "realy.lol/ec/secp256k1" ) // Error identifies an error related to public key cryptography using a diff --git a/ec/field.go b/ec/field.go index 95c31dd..3317c90 100644 --- a/ec/field.go +++ b/ec/field.go @@ -1,6 +1,6 @@ package btcec -import "mleku.dev/ec/secp256k1" +import "realy.lol/ec/secp256k1" // FieldVal implements optimized fixed-precision arithmetic over the secp256k1 // finite field. This means all arithmetic is performed modulo diff --git a/ec/field_test.go b/ec/field_test.go index bffc460..740f868 100644 --- a/ec/field_test.go +++ b/ec/field_test.go @@ -9,7 +9,7 @@ import ( "math/rand" "testing" - "mleku.dev/hex" + "realy.lol/hex" ) // TestIsZero ensures that checking if a field IsZero works as expected. diff --git a/ec/fuzz_test.go b/ec/fuzz_test.go index 267cf00..a6b85e7 100644 --- a/ec/fuzz_test.go +++ b/ec/fuzz_test.go @@ -11,7 +11,7 @@ package btcec import ( "testing" - "mleku.dev/hex" + "realy.lol/hex" ) func FuzzParsePubKey(f *testing.F) { diff --git a/ec/hex/util.go b/ec/hex/util.go index 36b0f31..687f8be 100644 --- a/ec/hex/util.go +++ b/ec/hex/util.go @@ -3,8 +3,8 @@ package hex import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ec/modnscalar.go b/ec/modnscalar.go index 9258ccc..f47ce77 100644 --- a/ec/modnscalar.go +++ b/ec/modnscalar.go @@ -4,7 +4,7 @@ package btcec import ( - "mleku.dev/ec/secp256k1" + "realy.lol/ec/secp256k1" ) // ModNScalar implements optimized 256-bit constant-time fixed-precision diff --git a/ec/musig2/bench_test.go b/ec/musig2/bench_test.go index fe0ef53..068585d 100644 --- a/ec/musig2/bench_test.go +++ b/ec/musig2/bench_test.go @@ -8,9 +8,9 @@ import ( "fmt" "testing" - "mleku.dev/ec" - "mleku.dev/ec/schnorr" - "mleku.dev/hex" + "realy.lol/ec" + "realy.lol/ec/schnorr" + "realy.lol/hex" ) var ( diff --git a/ec/musig2/context.go b/ec/musig2/context.go index beae253..9662a8e 100644 --- a/ec/musig2/context.go +++ b/ec/musig2/context.go @@ -5,8 +5,8 @@ package musig2 import ( "fmt" - "mleku.dev/ec" - "mleku.dev/ec/schnorr" + "realy.lol/ec" + "realy.lol/ec/schnorr" ) var ( diff --git a/ec/musig2/keys.go b/ec/musig2/keys.go index 4eb1e46..3e5f8f1 100644 --- a/ec/musig2/keys.go +++ b/ec/musig2/keys.go @@ -7,10 +7,10 @@ import ( "fmt" "sort" - "mleku.dev/ec" - "mleku.dev/ec/chainhash" - "mleku.dev/ec/schnorr" - "mleku.dev/ec/secp256k1" + "realy.lol/ec" + "realy.lol/ec/chainhash" + "realy.lol/ec/schnorr" + "realy.lol/ec/secp256k1" ) var ( diff --git a/ec/musig2/keys_test.go b/ec/musig2/keys_test.go index 2fd49a0..18ff9ea 100644 --- a/ec/musig2/keys_test.go +++ b/ec/musig2/keys_test.go @@ -11,10 +11,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "mleku.dev/ec" - "mleku.dev/ec/schnorr" - "mleku.dev/ec/secp256k1" - "mleku.dev/hex" + "realy.lol/ec" + "realy.lol/ec/schnorr" + "realy.lol/ec/secp256k1" + "realy.lol/hex" ) const ( diff --git a/ec/musig2/musig2_test.go b/ec/musig2/musig2_test.go index de0e1a1..7608713 100644 --- a/ec/musig2/musig2_test.go +++ b/ec/musig2/musig2_test.go @@ -8,9 +8,9 @@ import ( "sync" "testing" - "mleku.dev/ec" - "mleku.dev/hex" - "mleku.dev/sha256" + "realy.lol/ec" + "realy.lol/hex" + "realy.lol/sha256" ) const ( diff --git a/ec/musig2/nonces.go b/ec/musig2/nonces.go index f75af99..8830895 100644 --- a/ec/musig2/nonces.go +++ b/ec/musig2/nonces.go @@ -9,9 +9,9 @@ import ( "errors" "io" - "mleku.dev/ec" - "mleku.dev/ec/chainhash" - "mleku.dev/ec/schnorr" + "realy.lol/ec" + "realy.lol/ec/chainhash" + "realy.lol/ec/schnorr" ) const ( diff --git a/ec/musig2/nonces_test.go b/ec/musig2/nonces_test.go index d0ec92b..519cac9 100644 --- a/ec/musig2/nonces_test.go +++ b/ec/musig2/nonces_test.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "mleku.dev/hex" + "realy.lol/hex" ) type nonceGenTestCase struct { diff --git a/ec/musig2/sign.go b/ec/musig2/sign.go index 63b695b..eceef48 100644 --- a/ec/musig2/sign.go +++ b/ec/musig2/sign.go @@ -7,10 +7,10 @@ import ( "fmt" "io" - "mleku.dev/ec" - "mleku.dev/ec/chainhash" - "mleku.dev/ec/schnorr" - "mleku.dev/ec/secp256k1" + "realy.lol/ec" + "realy.lol/ec/chainhash" + "realy.lol/ec/schnorr" + "realy.lol/ec/secp256k1" ) var ( diff --git a/ec/musig2/sign_test.go b/ec/musig2/sign_test.go index 9211dcb..8fd1c10 100644 --- a/ec/musig2/sign_test.go +++ b/ec/musig2/sign_test.go @@ -12,9 +12,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "mleku.dev/ec" - "mleku.dev/ec/secp256k1" - "mleku.dev/hex" + "realy.lol/ec" + "realy.lol/ec/secp256k1" + "realy.lol/hex" ) const ( diff --git a/ec/musig2/util.go b/ec/musig2/util.go index c9796a8..ae3a956 100644 --- a/ec/musig2/util.go +++ b/ec/musig2/util.go @@ -3,8 +3,8 @@ package musig2 import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ec/pubkey.go b/ec/pubkey.go index 7caea96..3b3124b 100644 --- a/ec/pubkey.go +++ b/ec/pubkey.go @@ -5,7 +5,7 @@ package btcec import ( - "mleku.dev/ec/secp256k1" + "realy.lol/ec/secp256k1" ) // These constants define the lengths of serialized public keys. diff --git a/ec/schnorr/bench_test.go b/ec/schnorr/bench_test.go index 105cb6c..4a3ece5 100644 --- a/ec/schnorr/bench_test.go +++ b/ec/schnorr/bench_test.go @@ -9,10 +9,10 @@ import ( "math/big" "testing" - "mleku.dev/ec" - "mleku.dev/ec/secp256k1" - "mleku.dev/hex" - "mleku.dev/sha256" + "realy.lol/ec" + "realy.lol/ec/secp256k1" + "realy.lol/hex" + "realy.lol/sha256" ) // hexToBytes converts the passed hex string into bytes and will panic if there diff --git a/ec/schnorr/pubkey.go b/ec/schnorr/pubkey.go index 2ee5aa0..c3c78ea 100644 --- a/ec/schnorr/pubkey.go +++ b/ec/schnorr/pubkey.go @@ -8,8 +8,8 @@ package schnorr import ( "fmt" - "mleku.dev/ec" - "mleku.dev/ec/secp256k1" + "realy.lol/ec" + "realy.lol/ec/secp256k1" ) // These constants define the lengths of serialized public keys. diff --git a/ec/schnorr/signature.go b/ec/schnorr/signature.go index 1e02b57..c4ebdfa 100644 --- a/ec/schnorr/signature.go +++ b/ec/schnorr/signature.go @@ -5,9 +5,9 @@ package schnorr import ( "fmt" - "mleku.dev/ec" - "mleku.dev/ec/chainhash" - "mleku.dev/ec/secp256k1" + "realy.lol/ec" + "realy.lol/ec/chainhash" + "realy.lol/ec/secp256k1" ) const ( diff --git a/ec/schnorr/signature_test.go b/ec/schnorr/signature_test.go index de76cca..27efb10 100644 --- a/ec/schnorr/signature_test.go +++ b/ec/schnorr/signature_test.go @@ -12,9 +12,9 @@ import ( "testing/quick" "github.com/davecgh/go-spew/spew" - "mleku.dev/ec" - "mleku.dev/ec/secp256k1" - "mleku.dev/hex" + "realy.lol/ec" + "realy.lol/ec/secp256k1" + "realy.lol/hex" ) type bip340Test struct { diff --git a/ec/schnorr/util.go b/ec/schnorr/util.go index 2435606..d36163d 100644 --- a/ec/schnorr/util.go +++ b/ec/schnorr/util.go @@ -3,8 +3,8 @@ package schnorr import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ec/seckey.go b/ec/seckey.go index 686bb5c..8aa54c2 100644 --- a/ec/seckey.go +++ b/ec/seckey.go @@ -5,7 +5,7 @@ package btcec import ( - "mleku.dev/ec/secp256k1" + "realy.lol/ec/secp256k1" ) // SecretKey wraps an ecdsa.SecretKey as a convenience mainly for signing things with the secret key without having to diff --git a/ec/secp256k1/curve.go b/ec/secp256k1/curve.go index ff8b2cb..4a3b39c 100644 --- a/ec/secp256k1/curve.go +++ b/ec/secp256k1/curve.go @@ -8,7 +8,7 @@ package secp256k1 import ( "math/bits" - "mleku.dev/hex" + "realy.lol/hex" ) // References: diff --git a/ec/secp256k1/example_test.go b/ec/secp256k1/example_test.go index e9ae83f..4551f41 100644 --- a/ec/secp256k1/example_test.go +++ b/ec/secp256k1/example_test.go @@ -11,9 +11,9 @@ import ( "encoding/binary" "fmt" - "mleku.dev/ec/secp256k1" - "mleku.dev/hex" - "mleku.dev/sha256" + "realy.lol/ec/secp256k1" + "realy.lol/hex" + "realy.lol/sha256" ) // This example demonstrates use of GenerateSharedSecret to encrypt a message diff --git a/ec/secp256k1/field.go b/ec/secp256k1/field.go index 9884f0c..de93de0 100644 --- a/ec/secp256k1/field.go +++ b/ec/secp256k1/field.go @@ -52,7 +52,7 @@ package secp256k1 // ordinarily would. See the documentation for FieldVal for more details. import ( - "mleku.dev/hex" + "realy.lol/hex" ) // Constants used to make the code more readable. diff --git a/ec/secp256k1/field_test.go b/ec/secp256k1/field_test.go index eef4594..fd1af36 100644 --- a/ec/secp256k1/field_test.go +++ b/ec/secp256k1/field_test.go @@ -14,7 +14,7 @@ import ( "testing" "time" - "mleku.dev/hex" + "realy.lol/hex" ) // SetHex decodes the passed big-endian hex string into the internal field value diff --git a/ec/secp256k1/modnscalar.go b/ec/secp256k1/modnscalar.go index c9309bf..fd8e9b6 100644 --- a/ec/secp256k1/modnscalar.go +++ b/ec/secp256k1/modnscalar.go @@ -7,7 +7,7 @@ package secp256k1 import ( "math/big" - "mleku.dev/hex" + "realy.lol/hex" ) // References: diff --git a/ec/secp256k1/modnscalar_test.go b/ec/secp256k1/modnscalar_test.go index 0ca2265..dff1c4e 100644 --- a/ec/secp256k1/modnscalar_test.go +++ b/ec/secp256k1/modnscalar_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "mleku.dev/hex" + "realy.lol/hex" ) // SetHex interprets the provided hex string as a 256-bit big-endian unsigned diff --git a/ec/secp256k1/nonce.go b/ec/secp256k1/nonce.go index a26c066..ac180dc 100644 --- a/ec/secp256k1/nonce.go +++ b/ec/secp256k1/nonce.go @@ -9,7 +9,7 @@ import ( "bytes" "hash" - "mleku.dev/sha256" + "realy.lol/sha256" ) // References: diff --git a/ec/secp256k1/nonce_test.go b/ec/secp256k1/nonce_test.go index bbebf96..2cd5532 100644 --- a/ec/secp256k1/nonce_test.go +++ b/ec/secp256k1/nonce_test.go @@ -8,8 +8,8 @@ package secp256k1 import ( "testing" - "mleku.dev/hex" - "mleku.dev/sha256" + "realy.lol/hex" + "realy.lol/sha256" ) // hexToBytes converts the passed hex string into bytes and will panic if there diff --git a/ec/secp256k1/precomps/genprecomps.go b/ec/secp256k1/precomps/genprecomps.go index 786660f..76cbdab 100644 --- a/ec/secp256k1/precomps/genprecomps.go +++ b/ec/secp256k1/precomps/genprecomps.go @@ -14,7 +14,7 @@ import ( "math/big" "os" - "mleku.dev/ec/secp256k1" + "realy.lol/ec/secp256k1" ) // curveParams houses the secp256k1 curve parameters for convenient access. diff --git a/ec/secp256k1/util.go b/ec/secp256k1/util.go index 6c96051..5949e47 100644 --- a/ec/secp256k1/util.go +++ b/ec/secp256k1/util.go @@ -3,8 +3,8 @@ package secp256k1 import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ec/taproot/taproot.go b/ec/taproot/taproot.go index 23bba7e..ccfe873 100644 --- a/ec/taproot/taproot.go +++ b/ec/taproot/taproot.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "mleku.dev/ec/bech32" - "mleku.dev/ec/chaincfg" + "realy.lol/ec/bech32" + "realy.lol/ec/chaincfg" ) // AddressSegWit is the base address type for all SegWit addresses. diff --git a/ec/taproot/util.go b/ec/taproot/util.go index 403692a..a78669a 100644 --- a/ec/taproot/util.go +++ b/ec/taproot/util.go @@ -3,8 +3,8 @@ package taproot import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ec/util.go b/ec/util.go index de362be..f9c844b 100644 --- a/ec/util.go +++ b/ec/util.go @@ -3,8 +3,8 @@ package btcec import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ec/wire/blockheader.go b/ec/wire/blockheader.go index f259e2f..09e2f8c 100644 --- a/ec/wire/blockheader.go +++ b/ec/wire/blockheader.go @@ -3,7 +3,7 @@ package wire import ( "time" - "mleku.dev/ec/chainhash" + "realy.lol/ec/chainhash" ) // BlockHeader defines information about a block and is used in the bitcoin diff --git a/ec/wire/msgtx.go b/ec/wire/msgtx.go index 81f81e8..fe0bf38 100644 --- a/ec/wire/msgtx.go +++ b/ec/wire/msgtx.go @@ -1,7 +1,7 @@ package wire import ( - "mleku.dev/ec/chainhash" + "realy.lol/ec/chainhash" ) // OutPoint defines a bitcoin data type that is used to track previous diff --git a/ec/wire/util.go b/ec/wire/util.go index 3cce166..0f7b834 100644 --- a/ec/wire/util.go +++ b/ec/wire/util.go @@ -3,8 +3,8 @@ package wire import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/encryption/nip4.go b/encryption/nip4.go index 4dcd8d6..185b480 100644 --- a/encryption/nip4.go +++ b/encryption/nip4.go @@ -8,8 +8,8 @@ import ( "strings" "lukechampine.com/frand" - "mleku.dev/hex" - "mleku.dev/p256k" + "realy.lol/hex" + "realy.lol/p256k" ) // ComputeSharedSecret returns a shared secret key used to encrypt messages. The private and public keys should be hex diff --git a/encryption/nip44.go b/encryption/nip44.go index bfff666..22bca1f 100644 --- a/encryption/nip44.go +++ b/encryption/nip44.go @@ -11,7 +11,7 @@ import ( "golang.org/x/crypto/chacha20" "golang.org/x/crypto/hkdf" - "mleku.dev/sha256" + "realy.lol/sha256" ) const ( diff --git a/encryption/nip44_test.go b/encryption/nip44_test.go index d279d42..1628944 100644 --- a/encryption/nip44_test.go +++ b/encryption/nip44_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "mleku.dev/hex" - "mleku.dev/keys" + "realy.lol/hex" + "realy.lol/keys" ) func assertCryptPriv(t *testing.T, sk1, sk2, conversationKey, salt, plaintext, expected S) { diff --git a/encryption/util.go b/encryption/util.go index bc344ed..a1fa76f 100644 --- a/encryption/util.go +++ b/encryption/util.go @@ -3,8 +3,8 @@ package encryption import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/envelopes/authenvelope/authenvelope.go b/envelopes/authenvelope/authenvelope.go index 324b98f..15c61bf 100644 --- a/envelopes/authenvelope/authenvelope.go +++ b/envelopes/authenvelope/authenvelope.go @@ -3,10 +3,10 @@ package authenvelope import ( "io" - "mleku.dev" - envs "mleku.dev/envelopes" - "mleku.dev/event" - "mleku.dev/text" + "realy.lol" + envs "realy.lol/envelopes" + "realy.lol/event" + "realy.lol/text" ) const L = "AUTH" diff --git a/envelopes/authenvelope/authenvelope_test.go b/envelopes/authenvelope/authenvelope_test.go index f3ddfba..40565a9 100644 --- a/envelopes/authenvelope/authenvelope_test.go +++ b/envelopes/authenvelope/authenvelope_test.go @@ -3,9 +3,9 @@ package authenvelope import ( "testing" - "mleku.dev/auth" - "mleku.dev/envelopes" - "mleku.dev/p256k" + "realy.lol/auth" + "realy.lol/envelopes" + "realy.lol/p256k" ) const relayURL = "wss://example.com" diff --git a/envelopes/authenvelope/util.go b/envelopes/authenvelope/util.go index 5779cce..b2b0970 100644 --- a/envelopes/authenvelope/util.go +++ b/envelopes/authenvelope/util.go @@ -3,8 +3,8 @@ package authenvelope import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/envelopes/closedenvelope/closedenvelope.go b/envelopes/closedenvelope/closedenvelope.go index 5d11495..a18ca0a 100644 --- a/envelopes/closedenvelope/closedenvelope.go +++ b/envelopes/closedenvelope/closedenvelope.go @@ -3,10 +3,10 @@ package closedenvelope import ( "io" - "mleku.dev" - "mleku.dev/envelopes" - "mleku.dev/subscriptionid" - "mleku.dev/text" + "realy.lol" + "realy.lol/envelopes" + "realy.lol/subscriptionid" + "realy.lol/text" ) const L = "CLOSED" diff --git a/envelopes/closedenvelope/closedenvelope_test.go b/envelopes/closedenvelope/closedenvelope_test.go index 88ed2ea..31c97dd 100644 --- a/envelopes/closedenvelope/closedenvelope_test.go +++ b/envelopes/closedenvelope/closedenvelope_test.go @@ -4,8 +4,8 @@ import ( "testing" "lukechampine.com/frand" - "mleku.dev/envelopes" - "mleku.dev/subscriptionid" + "realy.lol/envelopes" + "realy.lol/subscriptionid" ) var messages = []B{ diff --git a/envelopes/closedenvelope/util.go b/envelopes/closedenvelope/util.go index 4ffab8b..07a59c3 100644 --- a/envelopes/closedenvelope/util.go +++ b/envelopes/closedenvelope/util.go @@ -3,8 +3,8 @@ package closedenvelope import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/envelopes/closeenvelope/closeenvelope.go b/envelopes/closeenvelope/closeenvelope.go index a9d435f..de5b7cb 100644 --- a/envelopes/closeenvelope/closeenvelope.go +++ b/envelopes/closeenvelope/closeenvelope.go @@ -3,9 +3,9 @@ package closeenvelope import ( "io" - "mleku.dev" - "mleku.dev/envelopes" - "mleku.dev/subscriptionid" + "realy.lol" + "realy.lol/envelopes" + "realy.lol/subscriptionid" ) const L = "CLOSE" diff --git a/envelopes/closeenvelope/closeenvelope_test.go b/envelopes/closeenvelope/closeenvelope_test.go index 2bdfe8e..8b1cf6d 100644 --- a/envelopes/closeenvelope/closeenvelope_test.go +++ b/envelopes/closeenvelope/closeenvelope_test.go @@ -3,8 +3,8 @@ package closeenvelope import ( "testing" - "mleku.dev/envelopes" - "mleku.dev/subscriptionid" + "realy.lol/envelopes" + "realy.lol/subscriptionid" ) func TestMarshalJSONUnmarshalJSON(t *testing.T) { diff --git a/envelopes/closeenvelope/util.go b/envelopes/closeenvelope/util.go index 4567c1a..cfc1074 100644 --- a/envelopes/closeenvelope/util.go +++ b/envelopes/closeenvelope/util.go @@ -3,8 +3,8 @@ package closeenvelope import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/envelopes/countenvelope/countenvelope.go b/envelopes/countenvelope/countenvelope.go index 230dbb8..e8147af 100644 --- a/envelopes/countenvelope/countenvelope.go +++ b/envelopes/countenvelope/countenvelope.go @@ -5,12 +5,12 @@ import ( "bytes" "io" - "mleku.dev" - "mleku.dev/envelopes" - "mleku.dev/filters" - "mleku.dev/ints" - sid "mleku.dev/subscriptionid" - "mleku.dev/text" + "realy.lol" + "realy.lol/envelopes" + "realy.lol/filters" + "realy.lol/ints" + sid "realy.lol/subscriptionid" + "realy.lol/text" ) const L = "COUNT" diff --git a/envelopes/countenvelope/countenvelope_test.go b/envelopes/countenvelope/countenvelope_test.go index f38a754..073cc33 100644 --- a/envelopes/countenvelope/countenvelope_test.go +++ b/envelopes/countenvelope/countenvelope_test.go @@ -3,9 +3,9 @@ package countenvelope import ( "testing" - "mleku.dev/envelopes" - "mleku.dev/filters" - "mleku.dev/subscriptionid" + "realy.lol/envelopes" + "realy.lol/filters" + "realy.lol/subscriptionid" ) func TestRequest(t *testing.T) { diff --git a/envelopes/countenvelope/util.go b/envelopes/countenvelope/util.go index 6b5b744..7a545e6 100644 --- a/envelopes/countenvelope/util.go +++ b/envelopes/countenvelope/util.go @@ -3,8 +3,8 @@ package countenvelope import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/envelopes/eoseenvelope/eoseenvelope.go b/envelopes/eoseenvelope/eoseenvelope.go index 8ca44c8..3248858 100644 --- a/envelopes/eoseenvelope/eoseenvelope.go +++ b/envelopes/eoseenvelope/eoseenvelope.go @@ -3,9 +3,9 @@ package eoseenvelope import ( "io" - "mleku.dev" - "mleku.dev/envelopes" - sid "mleku.dev/subscriptionid" + "realy.lol" + "realy.lol/envelopes" + sid "realy.lol/subscriptionid" ) const L = "EOSE" diff --git a/envelopes/eoseenvelope/eoseenvelope_test.go b/envelopes/eoseenvelope/eoseenvelope_test.go index a6cddff..9601632 100644 --- a/envelopes/eoseenvelope/eoseenvelope_test.go +++ b/envelopes/eoseenvelope/eoseenvelope_test.go @@ -3,8 +3,8 @@ package eoseenvelope import ( "testing" - "mleku.dev/envelopes" - "mleku.dev/subscriptionid" + "realy.lol/envelopes" + "realy.lol/subscriptionid" ) func TestMarshalJSONUnmarshalJSON(t *testing.T) { diff --git a/envelopes/eoseenvelope/util.go b/envelopes/eoseenvelope/util.go index df6d9b7..e895011 100644 --- a/envelopes/eoseenvelope/util.go +++ b/envelopes/eoseenvelope/util.go @@ -3,8 +3,8 @@ package eoseenvelope import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/envelopes/eventenvelope/eventenvelope.go b/envelopes/eventenvelope/eventenvelope.go index c49a138..642e2de 100644 --- a/envelopes/eventenvelope/eventenvelope.go +++ b/envelopes/eventenvelope/eventenvelope.go @@ -3,10 +3,10 @@ package eventenvelope import ( "io" - "mleku.dev" - "mleku.dev/envelopes" - "mleku.dev/event" - sid "mleku.dev/subscriptionid" + "realy.lol" + "realy.lol/envelopes" + "realy.lol/event" + sid "realy.lol/subscriptionid" ) const L = "EVENT" diff --git a/envelopes/eventenvelope/eventenvelope_test.go b/envelopes/eventenvelope/eventenvelope_test.go index 6d172b2..1a03aa5 100644 --- a/envelopes/eventenvelope/eventenvelope_test.go +++ b/envelopes/eventenvelope/eventenvelope_test.go @@ -5,10 +5,10 @@ import ( "bytes" "testing" - "mleku.dev/envelopes" - "mleku.dev/event" - "mleku.dev/event/examples" - "mleku.dev/subscriptionid" + "realy.lol/envelopes" + "realy.lol/event" + "realy.lol/event/examples" + "realy.lol/subscriptionid" ) func TestSubmission(t *testing.T) { diff --git a/envelopes/eventenvelope/util.go b/envelopes/eventenvelope/util.go index c1520f2..e657902 100644 --- a/envelopes/eventenvelope/util.go +++ b/envelopes/eventenvelope/util.go @@ -3,8 +3,8 @@ package eventenvelope import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/envelopes/messages/util.go b/envelopes/messages/util.go index 7ea64a2..afc17e6 100644 --- a/envelopes/messages/util.go +++ b/envelopes/messages/util.go @@ -3,8 +3,8 @@ package messages import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/envelopes/noticeenvelope/noticeenvelope.go b/envelopes/noticeenvelope/noticeenvelope.go index ef78524..8e054b1 100644 --- a/envelopes/noticeenvelope/noticeenvelope.go +++ b/envelopes/noticeenvelope/noticeenvelope.go @@ -3,9 +3,9 @@ package noticeenvelope import ( "io" - "mleku.dev" - "mleku.dev/envelopes" - "mleku.dev/text" + "realy.lol" + "realy.lol/envelopes" + "realy.lol/text" ) const L = "NOTICE" diff --git a/envelopes/noticeenvelope/noticeenvelope_test.go b/envelopes/noticeenvelope/noticeenvelope_test.go index 06a3f60..70e7e10 100644 --- a/envelopes/noticeenvelope/noticeenvelope_test.go +++ b/envelopes/noticeenvelope/noticeenvelope_test.go @@ -3,8 +3,8 @@ package noticeenvelope import ( "testing" - "mleku.dev/envelopes" - "mleku.dev/envelopes/messages" + "realy.lol/envelopes" + "realy.lol/envelopes/messages" ) func TestMarshalJSONUnmarshalJSON(t *testing.T) { diff --git a/envelopes/noticeenvelope/util.go b/envelopes/noticeenvelope/util.go index 47cc045..29b7b9e 100644 --- a/envelopes/noticeenvelope/util.go +++ b/envelopes/noticeenvelope/util.go @@ -3,8 +3,8 @@ package noticeenvelope import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/envelopes/okenvelope/okenvelope.go b/envelopes/okenvelope/okenvelope.go index 8f80954..4cd0600 100644 --- a/envelopes/okenvelope/okenvelope.go +++ b/envelopes/okenvelope/okenvelope.go @@ -3,10 +3,10 @@ package okenvelope import ( "io" - "mleku.dev" - "mleku.dev/envelopes" - "mleku.dev/eventid" - "mleku.dev/text" + "realy.lol" + "realy.lol/envelopes" + "realy.lol/eventid" + "realy.lol/text" ) const ( diff --git a/envelopes/okenvelope/okenvelope_test.go b/envelopes/okenvelope/okenvelope_test.go index a12f367..b8a232e 100644 --- a/envelopes/okenvelope/okenvelope_test.go +++ b/envelopes/okenvelope/okenvelope_test.go @@ -3,9 +3,9 @@ package okenvelope import ( "testing" - "mleku.dev/envelopes" - "mleku.dev/envelopes/messages" - "mleku.dev/eventid" + "realy.lol/envelopes" + "realy.lol/envelopes/messages" + "realy.lol/eventid" ) func TestMarshalJSONUnmarshalJSON(t *testing.T) { diff --git a/envelopes/okenvelope/util.go b/envelopes/okenvelope/util.go index febc5a2..96920d4 100644 --- a/envelopes/okenvelope/util.go +++ b/envelopes/okenvelope/util.go @@ -3,8 +3,8 @@ package okenvelope import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/envelopes/reqenvelope/reqenvelope.go b/envelopes/reqenvelope/reqenvelope.go index 5232305..e37ff41 100644 --- a/envelopes/reqenvelope/reqenvelope.go +++ b/envelopes/reqenvelope/reqenvelope.go @@ -3,11 +3,11 @@ package reqenvelope import ( "io" - "mleku.dev" - "mleku.dev/envelopes" - "mleku.dev/filters" - sid "mleku.dev/subscriptionid" - "mleku.dev/text" + "realy.lol" + "realy.lol/envelopes" + "realy.lol/filters" + sid "realy.lol/subscriptionid" + "realy.lol/text" ) const L = "REQ" diff --git a/envelopes/reqenvelope/reqenvelope_test.go b/envelopes/reqenvelope/reqenvelope_test.go index da95115..65f1153 100644 --- a/envelopes/reqenvelope/reqenvelope_test.go +++ b/envelopes/reqenvelope/reqenvelope_test.go @@ -3,9 +3,9 @@ package reqenvelope import ( "testing" - "mleku.dev/envelopes" - "mleku.dev/filters" - "mleku.dev/subscriptionid" + "realy.lol/envelopes" + "realy.lol/filters" + "realy.lol/subscriptionid" ) func TestMarshalJSONUnmarshalJSON(t *testing.T) { diff --git a/envelopes/reqenvelope/util.go b/envelopes/reqenvelope/util.go index 1a2aa28..7247a45 100644 --- a/envelopes/reqenvelope/util.go +++ b/envelopes/reqenvelope/util.go @@ -3,8 +3,8 @@ package reqenvelope import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/envelopes/util.go b/envelopes/util.go index 7bae0f2..adb4df2 100644 --- a/envelopes/util.go +++ b/envelopes/util.go @@ -3,8 +3,8 @@ package envelopes import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/event/binarymarshal.go b/event/binarymarshal.go index bc981c3..3c1529f 100644 --- a/event/binarymarshal.go +++ b/event/binarymarshal.go @@ -4,12 +4,12 @@ import ( "bytes" "encoding/binary" - "mleku.dev/ec/schnorr" - "mleku.dev/hex" - "mleku.dev/kind" - "mleku.dev/sha256" - "mleku.dev/tags" - "mleku.dev/timestamp" + "realy.lol/ec/schnorr" + "realy.lol/hex" + "realy.lol/kind" + "realy.lol/sha256" + "realy.lol/tags" + "realy.lol/timestamp" ) const ( diff --git a/event/binaryunmarshal.go b/event/binaryunmarshal.go index 1822df9..6c6acef 100644 --- a/event/binaryunmarshal.go +++ b/event/binaryunmarshal.go @@ -5,13 +5,13 @@ import ( "fmt" "io" - "mleku.dev/ec/schnorr" - "mleku.dev/hex" - "mleku.dev/kind" - "mleku.dev/sha256" - "mleku.dev/tag" - "mleku.dev/tags" - "mleku.dev/timestamp" + "realy.lol/ec/schnorr" + "realy.lol/hex" + "realy.lol/kind" + "realy.lol/sha256" + "realy.lol/tag" + "realy.lol/tags" + "realy.lol/timestamp" ) // Reader is a control structure for reading and writing buffers. diff --git a/event/event.go b/event/event.go index 7096e29..cc86ee3 100644 --- a/event/event.go +++ b/event/event.go @@ -2,14 +2,14 @@ package event import ( "lukechampine.com/frand" - realy "mleku.dev" - "mleku.dev/eventid" - "mleku.dev/hex" - "mleku.dev/kind" - "mleku.dev/sha256" - "mleku.dev/tags" - "mleku.dev/text" - "mleku.dev/timestamp" + realy "realy.lol" + "realy.lol/eventid" + "realy.lol/hex" + "realy.lol/kind" + "realy.lol/sha256" + "realy.lol/tags" + "realy.lol/text" + "realy.lol/timestamp" ) // T is the primary datatype of nostr. This is the form of the structure that diff --git a/event/event_test.go b/event/event_test.go index 4fc04ec..ced1218 100644 --- a/event/event_test.go +++ b/event/event_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - "mleku.dev/event/examples" - "mleku.dev/p256k" + "realy.lol/event/examples" + "realy.lol/p256k" ) func TestTMarshal_Unmarshal(t *testing.T) { diff --git a/event/examples/util.go b/event/examples/util.go index c33f2ca..fc7306e 100644 --- a/event/examples/util.go +++ b/event/examples/util.go @@ -3,8 +3,8 @@ package examples import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/event/jsonmarshal.go b/event/jsonmarshal.go index c2d47a9..96baad6 100644 --- a/event/jsonmarshal.go +++ b/event/jsonmarshal.go @@ -1,8 +1,8 @@ package event import ( - "mleku.dev/hex" - "mleku.dev/text" + "realy.lol/hex" + "realy.lol/text" ) func (ev *T) MarshalJSON(dst B) (b B, err error) { diff --git a/event/jsonunmarshal.go b/event/jsonunmarshal.go index 1646015..ad3e67c 100644 --- a/event/jsonunmarshal.go +++ b/event/jsonunmarshal.go @@ -3,12 +3,12 @@ package event import ( "io" - "mleku.dev/ec/schnorr" - "mleku.dev/kind" - "mleku.dev/sha256" - "mleku.dev/tags" - "mleku.dev/text" - "mleku.dev/timestamp" + "realy.lol/ec/schnorr" + "realy.lol/kind" + "realy.lol/sha256" + "realy.lol/tags" + "realy.lol/text" + "realy.lol/timestamp" ) func (ev *T) UnmarshalJSON(b B) (r B, err error) { diff --git a/event/signatures.go b/event/signatures.go index 86a5e2c..5739147 100644 --- a/event/signatures.go +++ b/event/signatures.go @@ -1,10 +1,10 @@ package event import ( - realy "mleku.dev" - sch "mleku.dev/ec/schnorr" - k1 "mleku.dev/ec/secp256k1" - "mleku.dev/p256k" + realy "realy.lol" + sch "realy.lol/ec/schnorr" + k1 "realy.lol/ec/secp256k1" + "realy.lol/p256k" ) // Sign the event using the nostr.Signer. Uses github.com/bitcoin-core/secp256k1 if available for much faster diff --git a/event/util.go b/event/util.go index 1f3b517..4c19e90 100644 --- a/event/util.go +++ b/event/util.go @@ -3,8 +3,8 @@ package event import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/eventid/eventid.go b/eventid/eventid.go index 0e84c1a..09c154b 100644 --- a/eventid/eventid.go +++ b/eventid/eventid.go @@ -5,8 +5,8 @@ import ( "errors" "lukechampine.com/frand" - "mleku.dev/hex" - "mleku.dev/sha256" + "realy.lol/hex" + "realy.lol/sha256" ) // T is the SHA256 hash in hexadecimal of the canonical form of an event as diff --git a/eventid/util.go b/eventid/util.go index dcbfe0c..eef0118 100644 --- a/eventid/util.go +++ b/eventid/util.go @@ -3,8 +3,8 @@ package eventid import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/filter/filter.go b/filter/filter.go index 56940b2..e1bd897 100644 --- a/filter/filter.go +++ b/filter/filter.go @@ -5,18 +5,18 @@ import ( "sort" "lukechampine.com/frand" - "mleku.dev/ec/schnorr" - "mleku.dev/ec/secp256k1" - "mleku.dev/event" - "mleku.dev/hex" - "mleku.dev/ints" - "mleku.dev/kind" - "mleku.dev/kinds" - "mleku.dev/sha256" - "mleku.dev/tag" - "mleku.dev/tags" - "mleku.dev/text" - "mleku.dev/timestamp" + "realy.lol/ec/schnorr" + "realy.lol/ec/secp256k1" + "realy.lol/event" + "realy.lol/hex" + "realy.lol/ints" + "realy.lol/kind" + "realy.lol/kinds" + "realy.lol/sha256" + "realy.lol/tag" + "realy.lol/tags" + "realy.lol/text" + "realy.lol/timestamp" ) // T is the primary query form for requesting events from a nostr relay. diff --git a/filter/util.go b/filter/util.go index fcbf507..3d657a4 100644 --- a/filter/util.go +++ b/filter/util.go @@ -3,8 +3,8 @@ package filter import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/filters/filters.go b/filters/filters.go index 784e796..3a313e9 100644 --- a/filters/filters.go +++ b/filters/filters.go @@ -1,8 +1,8 @@ package filters import ( - "mleku.dev/event" - "mleku.dev/filter" + "realy.lol/event" + "realy.lol/filter" ) type T struct { diff --git a/filters/util.go b/filters/util.go index 5dae1f8..99cc4b8 100644 --- a/filters/util.go +++ b/filters/util.go @@ -3,8 +3,8 @@ package filters import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/go.mod b/go.mod index 9ee2043..822b077 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module mleku.dev +module realy.lol go 1.23.1 @@ -8,7 +8,6 @@ require ( github.com/dgraph-io/badger/v4 v4.3.0 github.com/fasthttp/websocket v1.5.10 github.com/fatih/color v1.17.0 - github.com/fiatjaf/eventstore v0.9.0 github.com/gobwas/httphead v0.1.0 github.com/gobwas/ws v1.4.0 github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 @@ -20,7 +19,6 @@ require ( github.com/stretchr/testify v1.9.0 github.com/templexxx/xhex v0.0.0-20200614015412-aed53437177b golang.org/x/crypto v0.27.0 - golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 golang.org/x/net v0.29.0 golang.org/x/sync v0.8.0 diff --git a/hex/util.go b/hex/util.go index 36b0f31..687f8be 100644 --- a/hex/util.go +++ b/hex/util.go @@ -3,8 +3,8 @@ package hex import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/interrupt/main.go b/interrupt/main.go index 4fbadeb..fcdc899 100644 --- a/interrupt/main.go +++ b/interrupt/main.go @@ -6,8 +6,8 @@ import ( "os/signal" "runtime" - "mleku.dev/atomic" - "mleku.dev/qu" + "realy.lol/atomic" + "realy.lol/qu" ) type HandlerWithSource struct { diff --git a/interrupt/util.go b/interrupt/util.go index 6f8b5fb..b536ce4 100644 --- a/interrupt/util.go +++ b/interrupt/util.go @@ -3,8 +3,8 @@ package interrupt import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ints/gen/util.go b/ints/gen/util.go index 549f067..77459aa 100644 --- a/ints/gen/util.go +++ b/ints/gen/util.go @@ -3,7 +3,7 @@ package main import ( "bytes" - "mleku.dev/lol" + "realy.lol/lol" ) type ( diff --git a/ints/util.go b/ints/util.go index 9c7ebb3..407796a 100644 --- a/ints/util.go +++ b/ints/util.go @@ -3,8 +3,8 @@ package ints import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/keys/keys.go b/keys/keys.go index 039a8a6..a8fd6cf 100644 --- a/keys/keys.go +++ b/keys/keys.go @@ -3,10 +3,10 @@ package keys import ( "strings" - btcec "mleku.dev/ec" - "mleku.dev/ec/schnorr" - "mleku.dev/hex" - "mleku.dev/p256k" + btcec "realy.lol/ec" + "realy.lol/ec/schnorr" + "realy.lol/hex" + "realy.lol/p256k" ) var GeneratePrivateKey = func() B { return GenerateSecretKeyHex() } diff --git a/keys/util.go b/keys/util.go index 3078467..1ef11f5 100644 --- a/keys/util.go +++ b/keys/util.go @@ -3,8 +3,8 @@ package keys import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/kind/kind.go b/kind/kind.go index 0718b9e..d870105 100644 --- a/kind/kind.go +++ b/kind/kind.go @@ -3,7 +3,7 @@ package kind import ( "sync" - "mleku.dev/ints" + "realy.lol/ints" ) // T - which will be externally referenced as kind.T is the event type in the diff --git a/kind/util.go b/kind/util.go index 49a9ef5..69fd377 100644 --- a/kind/util.go +++ b/kind/util.go @@ -3,8 +3,8 @@ package kind import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/kinds/kinds.go b/kinds/kinds.go index 68f8203..dedaea5 100644 --- a/kinds/kinds.go +++ b/kinds/kinds.go @@ -1,8 +1,8 @@ package kinds import ( - "mleku.dev/ints" - "mleku.dev/kind" + "realy.lol/ints" + "realy.lol/kind" ) type T struct { diff --git a/kinds/kinds_test.go b/kinds/kinds_test.go index bac7633..9144701 100644 --- a/kinds/kinds_test.go +++ b/kinds/kinds_test.go @@ -4,7 +4,7 @@ import ( "testing" "lukechampine.com/frand" - "mleku.dev/kind" + "realy.lol/kind" ) func TestUnmarshalKindsArray(t *testing.T) { diff --git a/kinds/util.go b/kinds/util.go index fa67a57..aa66646 100644 --- a/kinds/util.go +++ b/kinds/util.go @@ -3,8 +3,8 @@ package kinds import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/lol/log.go b/lol/log.go index e374ebb..9b87fa8 100644 --- a/lol/log.go +++ b/lol/log.go @@ -10,7 +10,7 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/fatih/color" - "mleku.dev/atomic" + "realy.lol/atomic" ) const ( diff --git a/nip86/methods.go b/nip86/methods.go index 1b3a46a..4c8acd7 100644 --- a/nip86/methods.go +++ b/nip86/methods.go @@ -4,7 +4,7 @@ import ( "math" "net" - "mleku.dev/keys" + "realy.lol/keys" ) func DecodeRequest(req Request) (MethodParams, error) { diff --git a/nip86/util.go b/nip86/util.go index f5154ea..4073fa8 100644 --- a/nip86/util.go +++ b/nip86/util.go @@ -3,8 +3,8 @@ package nip86 import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/normalize/normalize.go b/normalize/normalize.go index f3c9ac6..2a7e8ab 100644 --- a/normalize/normalize.go +++ b/normalize/normalize.go @@ -5,7 +5,7 @@ import ( "fmt" "net/url" - "mleku.dev/ints" + "realy.lol/ints" ) var ( diff --git a/normalize/util.go b/normalize/util.go index 409d67e..d50d6c1 100644 --- a/normalize/util.go +++ b/normalize/util.go @@ -3,8 +3,8 @@ package normalize import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/number/util.go b/number/util.go index d4f9b4a..b228644 100644 --- a/number/util.go +++ b/number/util.go @@ -3,8 +3,8 @@ package number import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/p256k/btcec.go b/p256k/btcec.go index c0d2955..cb0079d 100644 --- a/p256k/btcec.go +++ b/p256k/btcec.go @@ -3,7 +3,7 @@ package p256k import ( - "mleku.dev/p256k/btcec" + "realy.lol/p256k/btcec" ) // BTCECSigner is always available but enabling it disables the use of github.com/bitcoin-core/secp256k1 CGO signature diff --git a/p256k/btcec/btcec.go b/p256k/btcec/btcec.go index 1577690..1cf4982 100644 --- a/p256k/btcec/btcec.go +++ b/p256k/btcec/btcec.go @@ -1,10 +1,10 @@ package btcec import ( - realy "mleku.dev" - ec "mleku.dev/ec" - "mleku.dev/ec/schnorr" - "mleku.dev/ec/secp256k1" + realy "realy.lol" + ec "realy.lol/ec" + "realy.lol/ec/schnorr" + "realy.lol/ec/secp256k1" ) type Signer struct { diff --git a/p256k/btcec/btcec_test.go b/p256k/btcec/btcec_test.go index d1c38a0..5399f03 100644 --- a/p256k/btcec/btcec_test.go +++ b/p256k/btcec/btcec_test.go @@ -6,11 +6,11 @@ import ( "testing" "time" - "mleku.dev/ec/schnorr" - "mleku.dev/event" - "mleku.dev/event/examples" - "mleku.dev/p256k/btcec" - "mleku.dev/sha256" + "realy.lol/ec/schnorr" + "realy.lol/event" + "realy.lol/event/examples" + "realy.lol/p256k/btcec" + "realy.lol/sha256" ) func TestSigner_Generate(t *testing.T) { diff --git a/p256k/btcec/util.go b/p256k/btcec/util.go index de362be..f9c844b 100644 --- a/p256k/btcec/util.go +++ b/p256k/btcec/util.go @@ -3,8 +3,8 @@ package btcec import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/p256k/btcec/util_test.go b/p256k/btcec/util_test.go index f374cdd..a82d792 100644 --- a/p256k/btcec/util_test.go +++ b/p256k/btcec/util_test.go @@ -3,8 +3,8 @@ package btcec_test import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/p256k/p256k.go b/p256k/p256k.go index 7910f2d..b505fc0 100644 --- a/p256k/p256k.go +++ b/p256k/p256k.go @@ -3,8 +3,8 @@ package p256k import ( - realy "mleku.dev" - btcec "mleku.dev/ec" + realy "realy.lol" + btcec "realy.lol/ec" ) // Signer implements the nostr.Signer interface. diff --git a/p256k/p256k_test.go b/p256k/p256k_test.go index f089a85..789b58b 100644 --- a/p256k/p256k_test.go +++ b/p256k/p256k_test.go @@ -9,11 +9,11 @@ import ( "testing" "time" - realy "mleku.dev" - "mleku.dev/ec/schnorr" - "mleku.dev/event" - "mleku.dev/event/examples" - "mleku.dev/p256k" + realy "realy.lol" + "realy.lol/ec/schnorr" + "realy.lol/event" + "realy.lol/event/examples" + "realy.lol/p256k" ) func TestSigner_Generate(t *testing.T) { diff --git a/p256k/secp256k1.go b/p256k/secp256k1.go index 0715b00..ac6feac 100644 --- a/p256k/secp256k1.go +++ b/p256k/secp256k1.go @@ -7,9 +7,9 @@ import ( "crypto/rand" "unsafe" - "mleku.dev/ec/schnorr" - "mleku.dev/ec/secp256k1" - "mleku.dev/sha256" + "realy.lol/ec/schnorr" + "realy.lol/ec/secp256k1" + "realy.lol/sha256" ) /* diff --git a/p256k/secp256k1_test.go b/p256k/secp256k1_test.go index 2f29273..e4e6ae6 100644 --- a/p256k/secp256k1_test.go +++ b/p256k/secp256k1_test.go @@ -7,11 +7,11 @@ import ( "bytes" "testing" - "mleku.dev/ec/schnorr" - "mleku.dev/event" - "mleku.dev/event/examples" - "mleku.dev/p256k" - "mleku.dev/sha256" + "realy.lol/ec/schnorr" + "realy.lol/event" + "realy.lol/event/examples" + "realy.lol/p256k" + "realy.lol/sha256" ) func TestVerify(t *testing.T) { diff --git a/p256k/util.go b/p256k/util.go index 41e796d..3a5b95a 100644 --- a/p256k/util.go +++ b/p256k/util.go @@ -3,8 +3,8 @@ package p256k import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/p256k/util_test.go b/p256k/util_test.go index 21e7246..b9fdb1e 100644 --- a/p256k/util_test.go +++ b/p256k/util_test.go @@ -3,8 +3,8 @@ package p256k_test import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/qu/qu.go b/qu/qu.go index cfd1231..964ea1d 100644 --- a/qu/qu.go +++ b/qu/qu.go @@ -6,8 +6,8 @@ import ( "sync" "time" - "mleku.dev/atomic" - "mleku.dev/lol" + "realy.lol/atomic" + "realy.lol/lol" ) // C is your basic empty struct signalling channel diff --git a/qu/util.go b/qu/util.go index 79e8bee..ed05ac9 100644 --- a/qu/util.go +++ b/qu/util.go @@ -3,8 +3,8 @@ package qu import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ratel/countevents.go b/ratel/countevents.go index c2c527d..2106e71 100644 --- a/ratel/countevents.go +++ b/ratel/countevents.go @@ -1,8 +1,8 @@ package ratel import ( - "mleku.dev/event" - "mleku.dev/filter" + "realy.lol/event" + "realy.lol/filter" ) func (r *T) CountEvents(c Ctx, f *filter.T) (count N, err E) { diff --git a/ratel/deleteevent.go b/ratel/deleteevent.go index e10fde5..2e9bfae 100644 --- a/ratel/deleteevent.go +++ b/ratel/deleteevent.go @@ -2,12 +2,12 @@ package ratel import ( "github.com/dgraph-io/badger/v4" - "mleku.dev/event" - "mleku.dev/eventid" - "mleku.dev/ratel/keys" - "mleku.dev/ratel/keys/id" - "mleku.dev/ratel/keys/index" - "mleku.dev/ratel/keys/serial" + "realy.lol/event" + "realy.lol/eventid" + "realy.lol/ratel/keys" + "realy.lol/ratel/keys/id" + "realy.lol/ratel/keys/index" + "realy.lol/ratel/keys/serial" ) func (r *T) DeleteEvent(c Ctx, eid *eventid.T) (err E) { diff --git a/ratel/getecounterkey.go b/ratel/getecounterkey.go index ca953a2..f1d961a 100644 --- a/ratel/getecounterkey.go +++ b/ratel/getecounterkey.go @@ -1,8 +1,8 @@ package ratel import ( - "mleku.dev/ratel/keys/index" - "mleku.dev/ratel/keys/serial" + "realy.lol/ratel/keys/index" + "realy.lol/ratel/keys/serial" ) // GetCounterKey returns the proper counter key for a given event ID. diff --git a/ratel/getindexkeysforevent.go b/ratel/getindexkeysforevent.go index 5613d92..3f2e6ad 100644 --- a/ratel/getindexkeysforevent.go +++ b/ratel/getindexkeysforevent.go @@ -1,16 +1,16 @@ package ratel import ( - "mleku.dev/event" - "mleku.dev/eventid" - "mleku.dev/ratel/keys" - "mleku.dev/ratel/keys/createdat" - "mleku.dev/ratel/keys/id" - "mleku.dev/ratel/keys/index" - "mleku.dev/ratel/keys/kinder" - "mleku.dev/ratel/keys/pubkey" - "mleku.dev/ratel/keys/serial" - "mleku.dev/tag" + "realy.lol/event" + "realy.lol/eventid" + "realy.lol/ratel/keys" + "realy.lol/ratel/keys/createdat" + "realy.lol/ratel/keys/id" + "realy.lol/ratel/keys/index" + "realy.lol/ratel/keys/kinder" + "realy.lol/ratel/keys/pubkey" + "realy.lol/ratel/keys/serial" + "realy.lol/tag" ) // GetIndexKeysForEvent generates all the index keys required to filter for diff --git a/ratel/gettagkeyelements.go b/ratel/gettagkeyelements.go index d404f87..24cae96 100644 --- a/ratel/gettagkeyelements.go +++ b/ratel/gettagkeyelements.go @@ -4,15 +4,15 @@ import ( "strconv" "strings" - "mleku.dev/ec/schnorr" - "mleku.dev/hex" - "mleku.dev/ratel/keys" - "mleku.dev/ratel/keys/arb" - "mleku.dev/ratel/keys/createdat" - "mleku.dev/ratel/keys/index" - "mleku.dev/ratel/keys/kinder" - "mleku.dev/ratel/keys/pubkey" - "mleku.dev/ratel/keys/serial" + "realy.lol/ec/schnorr" + "realy.lol/hex" + "realy.lol/ratel/keys" + "realy.lol/ratel/keys/arb" + "realy.lol/ratel/keys/createdat" + "realy.lol/ratel/keys/index" + "realy.lol/ratel/keys/kinder" + "realy.lol/ratel/keys/pubkey" + "realy.lol/ratel/keys/serial" ) func GetTagKeyElements(tagValue string, CA *createdat.T, diff --git a/ratel/gettagkeyprefix.go b/ratel/gettagkeyprefix.go index 7e33a31..5b07079 100644 --- a/ratel/gettagkeyprefix.go +++ b/ratel/gettagkeyprefix.go @@ -1,13 +1,13 @@ package ratel import ( - "mleku.dev/hex" - "mleku.dev/ratel/keys" - "mleku.dev/ratel/keys/arb" - "mleku.dev/ratel/keys/index" - "mleku.dev/ratel/keys/kinder" - "mleku.dev/ratel/keys/pubkey" - eventstore "mleku.dev/store" + "realy.lol/hex" + "realy.lol/ratel/keys" + "realy.lol/ratel/keys/arb" + "realy.lol/ratel/keys/index" + "realy.lol/ratel/keys/kinder" + "realy.lol/ratel/keys/pubkey" + eventstore "realy.lol/store" ) // GetTagKeyPrefix returns tag index prefixes based on the initial field of a diff --git a/ratel/init.go b/ratel/init.go index 8df07e2..c962c70 100644 --- a/ratel/init.go +++ b/ratel/init.go @@ -7,8 +7,8 @@ import ( "github.com/dgraph-io/badger/v4" "github.com/dgraph-io/badger/v4/options" - "mleku.dev/ratel/keys/index" - "mleku.dev/units" + "realy.lol/ratel/keys/index" + "realy.lol/units" ) func (r *T) Init(path S) (err E) { diff --git a/ratel/keys/arb/arb.go b/ratel/keys/arb/arb.go index 6f2894a..16df3f5 100644 --- a/ratel/keys/arb/arb.go +++ b/ratel/keys/arb/arb.go @@ -3,7 +3,7 @@ package arb import ( "bytes" - "mleku.dev/ratel/keys" + "realy.lol/ratel/keys" ) // T is an arbitrary length byte string. In any construction there can only be one with arbitrary length. Custom lengths diff --git a/ratel/keys/arb/util.go b/ratel/keys/arb/util.go index 1972b3c..4e2bcb3 100644 --- a/ratel/keys/arb/util.go +++ b/ratel/keys/arb/util.go @@ -3,8 +3,8 @@ package arb import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ratel/keys/count/count.go b/ratel/keys/count/count.go index f92b5cd..ccaac3b 100644 --- a/ratel/keys/count/count.go +++ b/ratel/keys/count/count.go @@ -1,7 +1,7 @@ package count import ( - "mleku.dev/timestamp" + "realy.lol/timestamp" ) type Item struct { diff --git a/ratel/keys/count/util.go b/ratel/keys/count/util.go index 04379f5..6b2ed4a 100644 --- a/ratel/keys/count/util.go +++ b/ratel/keys/count/util.go @@ -3,8 +3,8 @@ package count import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ratel/keys/createdat/createdat.go b/ratel/keys/createdat/createdat.go index 229549d..65e56d4 100644 --- a/ratel/keys/createdat/createdat.go +++ b/ratel/keys/createdat/createdat.go @@ -4,9 +4,9 @@ import ( "bytes" "encoding/binary" - "mleku.dev/ratel/keys" - "mleku.dev/ratel/keys/serial" - "mleku.dev/timestamp" + "realy.lol/ratel/keys" + "realy.lol/ratel/keys/serial" + "realy.lol/timestamp" ) const Len = 8 diff --git a/ratel/keys/createdat/createdat_test.go b/ratel/keys/createdat/createdat_test.go index a05f31f..e0649d1 100644 --- a/ratel/keys/createdat/createdat_test.go +++ b/ratel/keys/createdat/createdat_test.go @@ -6,7 +6,7 @@ import ( "testing" "lukechampine.com/frand" - "mleku.dev/timestamp" + "realy.lol/timestamp" ) func TestT(t *testing.T) { diff --git a/ratel/keys/createdat/util.go b/ratel/keys/createdat/util.go index d54dc7f..3652aa0 100644 --- a/ratel/keys/createdat/util.go +++ b/ratel/keys/createdat/util.go @@ -3,8 +3,8 @@ package createdat import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ratel/keys/id/id.go b/ratel/keys/id/id.go index 296da30..9f3eeec 100644 --- a/ratel/keys/id/id.go +++ b/ratel/keys/id/id.go @@ -5,10 +5,10 @@ import ( "fmt" "strings" - "mleku.dev/ratel/keys" + "realy.lol/ratel/keys" - "mleku.dev/eventid" - "mleku.dev/hex" + "realy.lol/eventid" + "realy.lol/hex" ) const Len = 8 diff --git a/ratel/keys/id/id_test.go b/ratel/keys/id/id_test.go index c4eca94..1b2e596 100644 --- a/ratel/keys/id/id_test.go +++ b/ratel/keys/id/id_test.go @@ -5,8 +5,8 @@ import ( "testing" "lukechampine.com/frand" - "mleku.dev/eventid" - "mleku.dev/sha256" + "realy.lol/eventid" + "realy.lol/sha256" ) func TestT(t *testing.T) { diff --git a/ratel/keys/id/util.go b/ratel/keys/id/util.go index ceb3a89..145aa5c 100644 --- a/ratel/keys/id/util.go +++ b/ratel/keys/id/util.go @@ -3,8 +3,8 @@ package id import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ratel/keys/index/index.go b/ratel/keys/index/index.go index d34558e..c57d2de 100644 --- a/ratel/keys/index/index.go +++ b/ratel/keys/index/index.go @@ -4,7 +4,7 @@ import ( "bytes" "fmt" - "mleku.dev/ratel/keys" + "realy.lol/ratel/keys" ) const Len = 1 diff --git a/ratel/keys/index/prefixes.go b/ratel/keys/index/prefixes.go index b57f58f..1be372b 100644 --- a/ratel/keys/index/prefixes.go +++ b/ratel/keys/index/prefixes.go @@ -1,12 +1,12 @@ package index import ( - "mleku.dev/ratel/keys" - "mleku.dev/ratel/keys/createdat" - "mleku.dev/ratel/keys/id" - "mleku.dev/ratel/keys/kinder" - "mleku.dev/ratel/keys/pubkey" - "mleku.dev/ratel/keys/serial" + "realy.lol/ratel/keys" + "realy.lol/ratel/keys/createdat" + "realy.lol/ratel/keys/id" + "realy.lol/ratel/keys/kinder" + "realy.lol/ratel/keys/pubkey" + "realy.lol/ratel/keys/serial" ) type P byte diff --git a/ratel/keys/index/util.go b/ratel/keys/index/util.go index 7156d9d..865ec95 100644 --- a/ratel/keys/index/util.go +++ b/ratel/keys/index/util.go @@ -3,8 +3,8 @@ package index import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ratel/keys/keys_test.go b/ratel/keys/keys_test.go index bfd4e7a..90f0b44 100644 --- a/ratel/keys/keys_test.go +++ b/ratel/keys/keys_test.go @@ -8,17 +8,17 @@ import ( "testing" "lukechampine.com/frand" - "mleku.dev/ec/schnorr" - "mleku.dev/eventid" - "mleku.dev/kind" - "mleku.dev/ratel/keys" - "mleku.dev/ratel/keys/createdat" - "mleku.dev/ratel/keys/id" - "mleku.dev/ratel/keys/index" - "mleku.dev/ratel/keys/kinder" - "mleku.dev/ratel/keys/pubkey" - "mleku.dev/ratel/keys/serial" - "mleku.dev/timestamp" + "realy.lol/ec/schnorr" + "realy.lol/eventid" + "realy.lol/kind" + "realy.lol/ratel/keys" + "realy.lol/ratel/keys/createdat" + "realy.lol/ratel/keys/id" + "realy.lol/ratel/keys/index" + "realy.lol/ratel/keys/kinder" + "realy.lol/ratel/keys/pubkey" + "realy.lol/ratel/keys/serial" + "realy.lol/timestamp" ) func TestElement(t *testing.T) { diff --git a/ratel/keys/kinder/kind.go b/ratel/keys/kinder/kind.go index 3fea466..6f84012 100644 --- a/ratel/keys/kinder/kind.go +++ b/ratel/keys/kinder/kind.go @@ -4,8 +4,8 @@ import ( "bytes" "encoding/binary" - "mleku.dev/kind" - "mleku.dev/ratel/keys" + "realy.lol/kind" + "realy.lol/ratel/keys" ) const Len = 2 diff --git a/ratel/keys/kinder/kind_test.go b/ratel/keys/kinder/kind_test.go index c6ea2c5..5b9f0dc 100644 --- a/ratel/keys/kinder/kind_test.go +++ b/ratel/keys/kinder/kind_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "mleku.dev/kind" + "realy.lol/kind" ) func TestT(t *testing.T) { diff --git a/ratel/keys/kinder/util.go b/ratel/keys/kinder/util.go index 14317c7..2746b4a 100644 --- a/ratel/keys/kinder/util.go +++ b/ratel/keys/kinder/util.go @@ -3,8 +3,8 @@ package kinder import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ratel/keys/pubkey/pubkey.go b/ratel/keys/pubkey/pubkey.go index 35a6335..506950a 100644 --- a/ratel/keys/pubkey/pubkey.go +++ b/ratel/keys/pubkey/pubkey.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" - "mleku.dev/ec/schnorr" - "mleku.dev/ratel/keys" + "realy.lol/ec/schnorr" + "realy.lol/ratel/keys" ) const Len = 8 diff --git a/ratel/keys/pubkey/pubkey_test.go b/ratel/keys/pubkey/pubkey_test.go index 9f7f8f7..5490de5 100644 --- a/ratel/keys/pubkey/pubkey_test.go +++ b/ratel/keys/pubkey/pubkey_test.go @@ -5,7 +5,7 @@ import ( "testing" "lukechampine.com/frand" - "mleku.dev/ec/schnorr" + "realy.lol/ec/schnorr" ) func TestT(t *testing.T) { diff --git a/ratel/keys/pubkey/util.go b/ratel/keys/pubkey/util.go index 474b22e..dcffaab 100644 --- a/ratel/keys/pubkey/util.go +++ b/ratel/keys/pubkey/util.go @@ -3,8 +3,8 @@ package pubkey import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ratel/keys/serial/serial.go b/ratel/keys/serial/serial.go index a63b85e..66f5458 100644 --- a/ratel/keys/serial/serial.go +++ b/ratel/keys/serial/serial.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "fmt" - "mleku.dev/ratel/keys" + "realy.lol/ratel/keys" ) const Len = 8 diff --git a/ratel/keys/serial/serial_test.go b/ratel/keys/serial/serial_test.go index 6054fd3..a6b1a5b 100644 --- a/ratel/keys/serial/serial_test.go +++ b/ratel/keys/serial/serial_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "mleku.dev/ratel/keys/serial" + "realy.lol/ratel/keys/serial" "lukechampine.com/frand" ) diff --git a/ratel/keys/serial/util.go b/ratel/keys/serial/util.go index 875930f..15c8643 100644 --- a/ratel/keys/serial/util.go +++ b/ratel/keys/serial/util.go @@ -3,8 +3,8 @@ package serial import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ratel/log.go b/ratel/log.go index 7e3d025..f17742c 100644 --- a/ratel/log.go +++ b/ratel/log.go @@ -5,8 +5,8 @@ import ( "runtime" "strings" - "mleku.dev/atomic" - "mleku.dev/lol" + "realy.lol/atomic" + "realy.lol/lol" ) func NewLogger(logLevel int, label string) (l *logger) { diff --git a/ratel/main.go b/ratel/main.go index 0950a6e..f35db68 100644 --- a/ratel/main.go +++ b/ratel/main.go @@ -6,10 +6,10 @@ import ( "time" "github.com/dgraph-io/badger/v4" - "mleku.dev/context" - "mleku.dev/ratel/keys/index" - "mleku.dev/ratel/keys/serial" - eventstore "mleku.dev/store" + "realy.lol/context" + "realy.lol/ratel/keys/index" + "realy.lol/ratel/keys/serial" + eventstore "realy.lol/store" ) type T struct { diff --git a/ratel/nuke.go b/ratel/nuke.go index c640ba6..42e0400 100644 --- a/ratel/nuke.go +++ b/ratel/nuke.go @@ -1,7 +1,7 @@ package ratel import ( - "mleku.dev/ratel/keys/index" + "realy.lol/ratel/keys/index" ) func (r *T) Nuke() (err E) { diff --git a/ratel/preparequeries.go b/ratel/preparequeries.go index 45faf24..4bba897 100644 --- a/ratel/preparequeries.go +++ b/ratel/preparequeries.go @@ -5,15 +5,15 @@ import ( "fmt" "math" - "mleku.dev/event" - "mleku.dev/eventid" - "mleku.dev/filter" - "mleku.dev/ratel/keys/id" - "mleku.dev/ratel/keys/index" - "mleku.dev/ratel/keys/kinder" - "mleku.dev/ratel/keys/pubkey" - "mleku.dev/ratel/keys/serial" - "mleku.dev/timestamp" + "realy.lol/event" + "realy.lol/eventid" + "realy.lol/filter" + "realy.lol/ratel/keys/id" + "realy.lol/ratel/keys/index" + "realy.lol/ratel/keys/kinder" + "realy.lol/ratel/keys/pubkey" + "realy.lol/ratel/keys/serial" + "realy.lol/timestamp" ) type Results struct { diff --git a/ratel/queryevents.go b/ratel/queryevents.go index 7e84b7e..81301b0 100644 --- a/ratel/queryevents.go +++ b/ratel/queryevents.go @@ -2,13 +2,13 @@ package ratel import ( "github.com/dgraph-io/badger/v4" - "mleku.dev/event" - "mleku.dev/filter" - "mleku.dev/ratel/keys/createdat" - "mleku.dev/ratel/keys/index" - "mleku.dev/ratel/keys/serial" - "mleku.dev/sha256" - "mleku.dev/tag" + "realy.lol/event" + "realy.lol/filter" + "realy.lol/ratel/keys/createdat" + "realy.lol/ratel/keys/index" + "realy.lol/ratel/keys/serial" + "realy.lol/sha256" + "realy.lol/tag" ) func (r *T) QueryEvents(c Ctx, f *filter.T) (evs []*event.T, err E) { diff --git a/ratel/saveevent.go b/ratel/saveevent.go index 60bfeb6..0481707 100644 --- a/ratel/saveevent.go +++ b/ratel/saveevent.go @@ -4,16 +4,16 @@ import ( "fmt" "github.com/dgraph-io/badger/v4" - "mleku.dev/event" - "mleku.dev/eventid" - "mleku.dev/ratel/keys" - "mleku.dev/ratel/keys/createdat" - "mleku.dev/ratel/keys/id" - "mleku.dev/ratel/keys/index" - "mleku.dev/ratel/keys/serial" - "mleku.dev/sha256" - eventstore "mleku.dev/store" - "mleku.dev/timestamp" + "realy.lol/event" + "realy.lol/eventid" + "realy.lol/ratel/keys" + "realy.lol/ratel/keys/createdat" + "realy.lol/ratel/keys/id" + "realy.lol/ratel/keys/index" + "realy.lol/ratel/keys/serial" + "realy.lol/sha256" + eventstore "realy.lol/store" + "realy.lol/timestamp" ) func (r *T) SaveEvent(c Ctx, ev *event.T) (err E) { diff --git a/ratel/util.go b/ratel/util.go index f56976e..ff843f7 100644 --- a/ratel/util.go +++ b/ratel/util.go @@ -3,8 +3,8 @@ package ratel import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/relay/add-event.go b/relay/add-event.go index 042e184..6eea773 100644 --- a/relay/add-event.go +++ b/relay/add-event.go @@ -3,9 +3,9 @@ package relay import ( "regexp" - "mleku.dev/event" - "mleku.dev/normalize" - eventstore "mleku.dev/store" + "realy.lol/event" + "realy.lol/normalize" + eventstore "realy.lol/store" ) var nip20prefixmatcher = regexp.MustCompile(`^\w+: `) diff --git a/relay/broadcasting.go b/relay/broadcasting.go index a7d08b1..7fee262 100644 --- a/relay/broadcasting.go +++ b/relay/broadcasting.go @@ -1,6 +1,6 @@ package relay -import "mleku.dev/event" +import "realy.lol/event" func BroadcastEvent(evt *event.T) { notifyListeners(evt) diff --git a/relay/handlers.go b/relay/handlers.go index 61108af..27a1c7d 100644 --- a/relay/handlers.go +++ b/relay/handlers.go @@ -11,24 +11,24 @@ import ( "github.com/fasthttp/websocket" "github.com/nbd-wtf/go-nostr/nip11" "golang.org/x/time/rate" - "mleku.dev/auth" - "mleku.dev/bech32encoding" - "mleku.dev/ec/bech32" - "mleku.dev/envelopes" - "mleku.dev/envelopes/authenvelope" - "mleku.dev/envelopes/closeenvelope" - "mleku.dev/envelopes/countenvelope" - "mleku.dev/envelopes/eoseenvelope" - "mleku.dev/envelopes/eventenvelope" - "mleku.dev/envelopes/noticeenvelope" - "mleku.dev/envelopes/okenvelope" - "mleku.dev/envelopes/reqenvelope" - "mleku.dev/event" - "mleku.dev/filter" - "mleku.dev/kind" - "mleku.dev/normalize" - eventstore "mleku.dev/store" - "mleku.dev/tag" + "realy.lol/auth" + "realy.lol/bech32encoding" + "realy.lol/ec/bech32" + "realy.lol/envelopes" + "realy.lol/envelopes/authenvelope" + "realy.lol/envelopes/closeenvelope" + "realy.lol/envelopes/countenvelope" + "realy.lol/envelopes/eoseenvelope" + "realy.lol/envelopes/eventenvelope" + "realy.lol/envelopes/noticeenvelope" + "realy.lol/envelopes/okenvelope" + "realy.lol/envelopes/reqenvelope" + "realy.lol/event" + "realy.lol/filter" + "realy.lol/kind" + "realy.lol/normalize" + eventstore "realy.lol/store" + "realy.lol/tag" ) // TODO: consider moving these to Server as config params @@ -683,7 +683,7 @@ func (s *Server) HandleNIP11(w http.ResponseWriter, r *http.Request) { PubKey: "~", Contact: "~", SupportedNIPs: supportedNIPs, - Software: "https://mleku.dev", + Software: "https://realy.lol", Version: "~", } } diff --git a/relay/interface.go b/relay/interface.go index 05737a0..4cdee5a 100644 --- a/relay/interface.go +++ b/relay/interface.go @@ -2,10 +2,10 @@ package relay import ( "github.com/nbd-wtf/go-nostr/nip11" - "mleku.dev/event" - "mleku.dev/filter" - "mleku.dev/filters" - store "mleku.dev/store" + "realy.lol/event" + "realy.lol/filter" + "realy.lol/filters" + store "realy.lol/store" ) // Relay is the main interface for implementing a nostr relay. diff --git a/relay/listener.go b/relay/listener.go index a23cbeb..3d9f7f7 100644 --- a/relay/listener.go +++ b/relay/listener.go @@ -3,10 +3,10 @@ package relay import ( "sync" - "mleku.dev/envelopes/eventenvelope" - "mleku.dev/event" - "mleku.dev/filter" - "mleku.dev/filters" + "realy.lol/envelopes/eventenvelope" + "realy.lol/event" + "realy.lol/filter" + "realy.lol/filters" ) type Listener struct { diff --git a/relay/start.go b/relay/start.go index 06e43f1..7148dce 100644 --- a/relay/start.go +++ b/relay/start.go @@ -12,7 +12,7 @@ import ( "github.com/fasthttp/websocket" "github.com/rs/cors" "golang.org/x/time/rate" - "mleku.dev/event" + "realy.lol/event" ) // Server is a base for package users to implement nostr relays. diff --git a/relay/start_test.go b/relay/start_test.go index 3d88668..d2170a2 100644 --- a/relay/start_test.go +++ b/relay/start_test.go @@ -8,7 +8,7 @@ import ( "time" "github.com/gobwas/ws/wsutil" - "mleku.dev/ws" + "realy.lol/ws" ) func TestServerStartShutdown(t *testing.T) { diff --git a/relay/util.go b/relay/util.go index 339b3cd..3c42730 100644 --- a/relay/util.go +++ b/relay/util.go @@ -3,8 +3,8 @@ package relay import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/relay/util_test.go b/relay/util_test.go index a398266..8aa84e0 100644 --- a/relay/util_test.go +++ b/relay/util_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "mleku.dev/event" - "mleku.dev/filter" - eventstore "mleku.dev/store" + "realy.lol/event" + "realy.lol/filter" + eventstore "realy.lol/store" ) func startTestRelay(t *testing.T, tr *testRelay) *Server { diff --git a/relay/websocket.go b/relay/websocket.go index 97a8d41..d238c7d 100644 --- a/relay/websocket.go +++ b/relay/websocket.go @@ -5,7 +5,7 @@ import ( "github.com/fasthttp/websocket" "golang.org/x/time/rate" - "mleku.dev/atomic" + "realy.lol/atomic" ) type WebSocket struct { diff --git a/relayinfo/fetch.go b/relayinfo/fetch.go index 876480a..bfdc8fe 100644 --- a/relayinfo/fetch.go +++ b/relayinfo/fetch.go @@ -6,8 +6,8 @@ import ( "net/http" "time" - "mleku.dev/context" - "mleku.dev/normalize" + "realy.lol/context" + "realy.lol/normalize" ) // Fetch fetches the NIP-11 Info. diff --git a/relayinfo/types.go b/relayinfo/types.go index 8a70532..62287c4 100644 --- a/relayinfo/types.go +++ b/relayinfo/types.go @@ -6,9 +6,9 @@ import ( "os" "sync" - "mleku.dev/kinds" - "mleku.dev/number" - "mleku.dev/timestamp" + "realy.lol/kinds" + "realy.lol/number" + "realy.lol/timestamp" ) type NIP struct { diff --git a/relayinfo/util.go b/relayinfo/util.go index 7652c53..1916daa 100644 --- a/relayinfo/util.go +++ b/relayinfo/util.go @@ -3,8 +3,8 @@ package relayinfo import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/store/alias.go b/store/alias.go index 6a9a3ae..310da2b 100644 --- a/store/alias.go +++ b/store/alias.go @@ -3,10 +3,10 @@ package eventstore import ( "net/http" - "mleku.dev/ws" + "realy.lol/ws" - "mleku.dev/envelopes/okenvelope" - "mleku.dev/subscriptionid" + "realy.lol/envelopes/okenvelope" + "realy.lol/subscriptionid" ) type SubID = subscriptionid.T diff --git a/store/helpers.go b/store/helpers.go index 0f598ad..42d7972 100644 --- a/store/helpers.go +++ b/store/helpers.go @@ -3,7 +3,7 @@ package eventstore import ( "bytes" - "mleku.dev/event" + "realy.lol/event" ) func isOlder(prev, next *event.T) bool { diff --git a/store/relay_interface.go b/store/relay_interface.go index f9317d0..8d6d761 100644 --- a/store/relay_interface.go +++ b/store/relay_interface.go @@ -5,9 +5,9 @@ import ( "fmt" "sort" - "mleku.dev/event" - "mleku.dev/filter" - "mleku.dev/ws" + "realy.lol/event" + "realy.lol/filter" + "realy.lol/ws" ) // RelayInterface is a wrapper thing that unifies Store and Relay under a// common API. diff --git a/store/store_interface.go b/store/store_interface.go index 763fd6e..472edad 100644 --- a/store/store_interface.go +++ b/store/store_interface.go @@ -1,9 +1,9 @@ package eventstore import ( - "mleku.dev/event" - "mleku.dev/eventid" - "mleku.dev/filter" + "realy.lol/event" + "realy.lol/eventid" + "realy.lol/filter" ) // I is an types for a persistence layer for nostr events handled by a relay. diff --git a/store/util.go b/store/util.go index 97a7105..ad1c035 100644 --- a/store/util.go +++ b/store/util.go @@ -3,8 +3,8 @@ package eventstore import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/store/utils.go b/store/utils.go index cf06a8b..7904e4c 100644 --- a/store/utils.go +++ b/store/utils.go @@ -5,8 +5,8 @@ import ( "strconv" "strings" - "mleku.dev/hex" - "mleku.dev/tag" + "realy.lol/hex" + "realy.lol/tag" ) func GetAddrTagElements(tagValue S) (k uint16, pkb B, d S) { diff --git a/subscriptionid/subscriptionid.go b/subscriptionid/subscriptionid.go index f741ed7..a2ff387 100644 --- a/subscriptionid/subscriptionid.go +++ b/subscriptionid/subscriptionid.go @@ -3,8 +3,8 @@ package subscriptionid import ( "crypto/rand" - "mleku.dev/ec/bech32" - "mleku.dev/text" + "realy.lol/ec/bech32" + "realy.lol/text" ) type T struct { diff --git a/subscriptionid/util.go b/subscriptionid/util.go index cb7b3b3..169bb6b 100644 --- a/subscriptionid/util.go +++ b/subscriptionid/util.go @@ -3,8 +3,8 @@ package subscriptionid import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/tag/tag.go b/tag/tag.go index 1bac195..c93bb53 100644 --- a/tag/tag.go +++ b/tag/tag.go @@ -3,8 +3,8 @@ package tag import ( "bytes" - "mleku.dev/normalize" - "mleku.dev/text" + "realy.lol/normalize" + "realy.lol/text" ) // The tag position meanings so they are clear when reading. diff --git a/tag/util.go b/tag/util.go index c37148d..d7d510c 100644 --- a/tag/util.go +++ b/tag/util.go @@ -3,8 +3,8 @@ package tag import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/tags/tags.go b/tags/tags.go index c4fb0ff..2d70d2c 100644 --- a/tags/tags.go +++ b/tags/tags.go @@ -6,7 +6,7 @@ import ( "errors" "sort" - "mleku.dev/tag" + "realy.lol/tag" ) // T is a list of T - which are lists of string elements with ordering and no diff --git a/tags/tags_test.go b/tags/tags_test.go index 61d3de8..df2ef06 100644 --- a/tags/tags_test.go +++ b/tags/tags_test.go @@ -4,7 +4,7 @@ import ( "testing" "lukechampine.com/frand" - "mleku.dev/tag" + "realy.lol/tag" ) func TestMarshalUnmarshal(t *testing.T) { diff --git a/tags/util.go b/tags/util.go index 412e356..1f556ff 100644 --- a/tags/util.go +++ b/tags/util.go @@ -3,8 +3,8 @@ package tags import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/tests/generate.go b/tests/generate.go index cb40efc..32334ef 100644 --- a/tests/generate.go +++ b/tests/generate.go @@ -4,11 +4,11 @@ import ( "encoding/base64" "lukechampine.com/frand" - "mleku.dev/event" - "mleku.dev/hex" - "mleku.dev/kind" - "mleku.dev/p256k" - "mleku.dev/timestamp" + "realy.lol/event" + "realy.lol/hex" + "realy.lol/kind" + "realy.lol/p256k" + "realy.lol/timestamp" ) func GenerateEvent(nsec B, maxSize int) (ev *event.T, binSize int, err E) { diff --git a/tests/util.go b/tests/util.go index 800b450..66b9ca0 100644 --- a/tests/util.go +++ b/tests/util.go @@ -3,8 +3,8 @@ package tests import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/text/escape_test.go b/text/escape_test.go index 4ee2f34..fd09118 100644 --- a/text/escape_test.go +++ b/text/escape_test.go @@ -4,7 +4,7 @@ import ( "testing" "lukechampine.com/frand" - "mleku.dev/sha256" + "realy.lol/sha256" ) func TestUnescapeByteString(t *testing.T) { diff --git a/text/helpers.go b/text/helpers.go index e61f723..aa0ead4 100644 --- a/text/helpers.go +++ b/text/helpers.go @@ -4,10 +4,10 @@ import ( "io" "github.com/templexxx/xhex" - "mleku.dev/hex" - "mleku.dev/ints" - "mleku.dev/kind" - "mleku.dev/kinds" + "realy.lol/hex" + "realy.lol/ints" + "realy.lol/kind" + "realy.lol/kinds" ) // JSONKey generates the JSON format for an object key and terminates with the diff --git a/text/helpers_test.go b/text/helpers_test.go index e51352b..24305af 100644 --- a/text/helpers_test.go +++ b/text/helpers_test.go @@ -4,8 +4,8 @@ import ( "testing" "lukechampine.com/frand" - "mleku.dev/hex" - "mleku.dev/sha256" + "realy.lol/hex" + "realy.lol/sha256" ) func TestUnmarshalHexArray(t *testing.T) { diff --git a/text/hex.go b/text/hex.go index 6ea1dc0..a4bafc4 100644 --- a/text/hex.go +++ b/text/hex.go @@ -1,7 +1,7 @@ package text import ( - "mleku.dev/hex" + "realy.lol/hex" ) func AppendHexFromBinary(dst, src B, quote bool) (b B) { diff --git a/text/util.go b/text/util.go index 66031e1..dc18b91 100644 --- a/text/util.go +++ b/text/util.go @@ -3,8 +3,8 @@ package text import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/timestamp/timestamp.go b/timestamp/timestamp.go index eaf9474..5cec793 100644 --- a/timestamp/timestamp.go +++ b/timestamp/timestamp.go @@ -5,7 +5,7 @@ import ( "time" "unsafe" - "mleku.dev/ints" + "realy.lol/ints" ) // T is a convenience type for UNIX 64 bit timestamps of 1 second diff --git a/timestamp/util.go b/timestamp/util.go index c87b060..019df2a 100644 --- a/timestamp/util.go +++ b/timestamp/util.go @@ -3,8 +3,8 @@ package timestamp import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/units/util.go b/units/util.go index 1e7a230..7311d60 100644 --- a/units/util.go +++ b/units/util.go @@ -3,8 +3,8 @@ package units import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/util.go b/util.go index 9dc3ff1..561793d 100644 --- a/util.go +++ b/util.go @@ -3,8 +3,8 @@ package realy import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type ( diff --git a/ws/client.go b/ws/client.go index 4f25e5f..e9ef2f9 100644 --- a/ws/client.go +++ b/ws/client.go @@ -10,23 +10,23 @@ import ( "github.com/gobwas/ws" "github.com/gobwas/ws/wsutil" "github.com/puzpuzpuz/xsync/v3" - realy "mleku.dev" - "mleku.dev/atomic" - "mleku.dev/auth" - "mleku.dev/context" - "mleku.dev/envelopes" - "mleku.dev/envelopes/authenvelope" - "mleku.dev/envelopes/closedenvelope" - "mleku.dev/envelopes/countenvelope" - "mleku.dev/envelopes/eoseenvelope" - "mleku.dev/envelopes/eventenvelope" - "mleku.dev/envelopes/noticeenvelope" - "mleku.dev/envelopes/okenvelope" - "mleku.dev/event" - "mleku.dev/filter" - "mleku.dev/filters" - "mleku.dev/kind" - "mleku.dev/normalize" + realy "realy.lol" + "realy.lol/atomic" + "realy.lol/auth" + "realy.lol/context" + "realy.lol/envelopes" + "realy.lol/envelopes/authenvelope" + "realy.lol/envelopes/closedenvelope" + "realy.lol/envelopes/countenvelope" + "realy.lol/envelopes/eoseenvelope" + "realy.lol/envelopes/eventenvelope" + "realy.lol/envelopes/noticeenvelope" + "realy.lol/envelopes/okenvelope" + "realy.lol/event" + "realy.lol/filter" + "realy.lol/filters" + "realy.lol/kind" + "realy.lol/normalize" ) type Status int diff --git a/ws/client_test.go b/ws/client_test.go index 99b712d..6e08bd2 100644 --- a/ws/client_test.go +++ b/ws/client_test.go @@ -14,16 +14,16 @@ import ( "time" "golang.org/x/net/websocket" - "mleku.dev/envelopes/eventenvelope" - "mleku.dev/envelopes/okenvelope" - "mleku.dev/event" - "mleku.dev/eventid" - "mleku.dev/kind" - "mleku.dev/normalize" - "mleku.dev/p256k" - "mleku.dev/tag" - "mleku.dev/tags" - "mleku.dev/timestamp" + "realy.lol/envelopes/eventenvelope" + "realy.lol/envelopes/okenvelope" + "realy.lol/event" + "realy.lol/eventid" + "realy.lol/kind" + "realy.lol/normalize" + "realy.lol/p256k" + "realy.lol/tag" + "realy.lol/tags" + "realy.lol/timestamp" ) func TestPublish(t *testing.T) { diff --git a/ws/pool.go b/ws/pool.go index c190efb..8966fa1 100644 --- a/ws/pool.go +++ b/ws/pool.go @@ -9,13 +9,13 @@ import ( "unsafe" "github.com/puzpuzpuz/xsync/v3" - realy "mleku.dev" - "mleku.dev/context" - "mleku.dev/event" - "mleku.dev/filter" - "mleku.dev/filters" - "mleku.dev/normalize" - "mleku.dev/timestamp" + realy "realy.lol" + "realy.lol/context" + "realy.lol/event" + "realy.lol/filter" + "realy.lol/filters" + "realy.lol/normalize" + "realy.lol/timestamp" ) var ( diff --git a/ws/relayws.go b/ws/relayws.go index 30d32ae..457fe0a 100644 --- a/ws/relayws.go +++ b/ws/relayws.go @@ -9,11 +9,11 @@ import ( "time" "github.com/fasthttp/websocket" - "mleku.dev/atomic" - "mleku.dev/bech32encoding" - "mleku.dev/context" - "mleku.dev/ec/bech32" - "mleku.dev/qu" + "realy.lol/atomic" + "realy.lol/bech32encoding" + "realy.lol/context" + "realy.lol/ec/bech32" + "realy.lol/qu" ) type MessageType int diff --git a/ws/subscription.go b/ws/subscription.go index 3e3858f..69052af 100644 --- a/ws/subscription.go +++ b/ws/subscription.go @@ -5,13 +5,13 @@ import ( "sync" "sync/atomic" - "mleku.dev/context" - "mleku.dev/envelopes/closeenvelope" - "mleku.dev/envelopes/countenvelope" - "mleku.dev/envelopes/reqenvelope" - "mleku.dev/event" - "mleku.dev/filters" - "mleku.dev/subscriptionid" + "realy.lol/context" + "realy.lol/envelopes/closeenvelope" + "realy.lol/envelopes/countenvelope" + "realy.lol/envelopes/reqenvelope" + "realy.lol/event" + "realy.lol/filters" + "realy.lol/subscriptionid" ) type Subscription struct { diff --git a/ws/subscription_test.go b/ws/subscription_test.go index 34279eb..c7f45fa 100644 --- a/ws/subscription_test.go +++ b/ws/subscription_test.go @@ -7,12 +7,12 @@ import ( "testing" "time" - "mleku.dev/filter" - "mleku.dev/filters" - "mleku.dev/kind" - "mleku.dev/kinds" - "mleku.dev/tag" - "mleku.dev/tags" + "realy.lol/filter" + "realy.lol/filters" + "realy.lol/kind" + "realy.lol/kinds" + "realy.lol/tag" + "realy.lol/tags" ) const RELAY = "wss://relay.damus.io" diff --git a/ws/util.go b/ws/util.go index 01a2816..0cccb6a 100644 --- a/ws/util.go +++ b/ws/util.go @@ -3,8 +3,8 @@ package ws import ( "bytes" - "mleku.dev/context" - "mleku.dev/lol" + "realy.lol/context" + "realy.lol/lol" ) type (