chore(project): change module name

This commit is contained in:
Dustin Stiles 2025-04-01 10:57:37 -04:00
parent 5cca5467bb
commit c348363f5c
Signed by: duwstiles
GPG Key ID: BCD9912EC231FC87
25 changed files with 51 additions and 51 deletions

View File

@ -10,9 +10,9 @@
```bash
# Run a server
go run numenor-labs.us/dsfx/dsfx/cmd/dsfx@main
go run git.numenor-labs.us/dsfx/cmd/dsfx@main
# serving: dsfx://0.0.0.0:8000#<ed25519_public_key>
# Get the client
go run numenor-labs.us/dsfx/dsfx/cmd/dsfxctl@main test dsfx://0.0.0.0:8000#<ed25519_public_key>
go run git.numenor-labs.us/dsfx/cmd/dsfxctl@main test dsfx://0.0.0.0:8000#<ed25519_public_key>
```

View File

@ -3,9 +3,9 @@ package main
import (
"context"
"numenor-labs.us/dsfx/dsfx/internal/lib/disk"
"numenor-labs.us/dsfx/dsfx/internal/lib/system"
"numenor-labs.us/dsfx/dsfx/internal/peer"
"git.numenor-labs.us/dsfx/internal/lib/disk"
"git.numenor-labs.us/dsfx/internal/lib/system"
"git.numenor-labs.us/dsfx/internal/peer"
)
func main() {

View File

@ -3,9 +3,9 @@ package main
import (
"context"
"numenor-labs.us/dsfx/dsfx/internal/client"
"numenor-labs.us/dsfx/dsfx/internal/lib/disk"
"numenor-labs.us/dsfx/dsfx/internal/lib/system"
"git.numenor-labs.us/dsfx/internal/client"
"git.numenor-labs.us/dsfx/internal/lib/disk"
"git.numenor-labs.us/dsfx/internal/lib/system"
)
func main() {

View File

@ -134,7 +134,7 @@ can slow down the server. To mitigate this, we recommend:
## Handling Errors
Errors must always be handled explicitly - they are never ignored. In a function that can produce
more than one error, wrap the errors using `fmt.Errorf("%v")` to provide additional debugging context
more than one error, wrap the errors using `fmt.Errorf("%w")` to provide additional debugging context
in a way that preserves the original error for use with `errors.Is` and `errors.As`. This allows
for better error handling and debugging, especially in complex systems where multiple errors can
occur.

View File

@ -8,7 +8,7 @@ server on your deployment machine.
If you opted to _not_ install dsfx locally, then you can run it directly with the go toolchain.
```bash
go run numenor-labs.us/dsfx/dsfx/cmd/dsfx@main
go run git.numenor-labs.us/dsfx/cmd/dsfx@main
```
Otherwise, you can run the server with the `dsfx` command. For those who built

View File

@ -44,7 +44,7 @@ Now that you have the go toolchain set up with access to our repository, you can
project by using the `go install` command.
```bash
go install numenor-labs.us/dsfx/dsfx/cmd/dsfx@main
go install git.numenor-labs.us/dsfx/cmd/dsfx@main
```
Assuming that you have the `GOPATH` environment variable set up correctly, you will now be able to

2
go.mod
View File

@ -1,3 +1,3 @@
module numenor-labs.us/dsfx/dsfx
module git.numenor-labs.us/dsfx
go 1.24.1

View File

@ -13,12 +13,12 @@ import (
"net"
"os"
"numenor-labs.us/dsfx/dsfx/internal/lib/crypto/identity"
"numenor-labs.us/dsfx/dsfx/internal/lib/disk"
"numenor-labs.us/dsfx/dsfx/internal/lib/logging"
"numenor-labs.us/dsfx/dsfx/internal/lib/network"
"numenor-labs.us/dsfx/dsfx/internal/lib/storage/scoped"
"numenor-labs.us/dsfx/dsfx/internal/lib/system"
"git.numenor-labs.us/dsfx/internal/lib/crypto/identity"
"git.numenor-labs.us/dsfx/internal/lib/disk"
"git.numenor-labs.us/dsfx/internal/lib/logging"
"git.numenor-labs.us/dsfx/internal/lib/network"
"git.numenor-labs.us/dsfx/internal/lib/storage/scoped"
"git.numenor-labs.us/dsfx/internal/lib/system"
)
const (

View File

@ -4,7 +4,7 @@ import (
"crypto/rand"
"testing"
"numenor-labs.us/dsfx/dsfx/internal/lib/crypto/encryption"
"git.numenor-labs.us/dsfx/internal/lib/crypto/encryption"
)
func TestEncryptDecrypt(t *testing.T) {

View File

@ -3,7 +3,7 @@ package disk_test
import (
"testing"
"numenor-labs.us/dsfx/dsfx/internal/lib/disk"
"git.numenor-labs.us/dsfx/internal/lib/disk"
)
func TestDefaultDisk(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"bytes"
"testing"
"numenor-labs.us/dsfx/dsfx/internal/lib/frame"
"git.numenor-labs.us/dsfx/internal/lib/frame"
)
func TestLenPrefixedWriteTo(t *testing.T) {

View File

@ -10,12 +10,12 @@ import (
"io"
"log/slog"
"numenor-labs.us/dsfx/dsfx/internal/lib/assert"
"numenor-labs.us/dsfx/dsfx/internal/lib/buffer"
"numenor-labs.us/dsfx/dsfx/internal/lib/crypto/encryption"
"numenor-labs.us/dsfx/dsfx/internal/lib/crypto/identity"
"numenor-labs.us/dsfx/dsfx/internal/lib/crypto/keyexchange"
"numenor-labs.us/dsfx/dsfx/internal/lib/logging"
"git.numenor-labs.us/dsfx/internal/lib/assert"
"git.numenor-labs.us/dsfx/internal/lib/buffer"
"git.numenor-labs.us/dsfx/internal/lib/crypto/encryption"
"git.numenor-labs.us/dsfx/internal/lib/crypto/identity"
"git.numenor-labs.us/dsfx/internal/lib/crypto/keyexchange"
"git.numenor-labs.us/dsfx/internal/lib/logging"
)
const (

View File

@ -10,8 +10,8 @@ import (
"sync"
"testing"
"numenor-labs.us/dsfx/dsfx/internal/lib/crypto/identity"
"numenor-labs.us/dsfx/dsfx/internal/lib/handshake"
"git.numenor-labs.us/dsfx/internal/lib/crypto/identity"
"git.numenor-labs.us/dsfx/internal/lib/handshake"
)
func TestHandshake(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"net"
"strings"
"numenor-labs.us/dsfx/dsfx/internal/lib/crypto/identity"
"git.numenor-labs.us/dsfx/internal/lib/crypto/identity"
)
var (

View File

@ -5,8 +5,8 @@ import (
"net"
"time"
"numenor-labs.us/dsfx/dsfx/internal/lib/crypto/encryption"
"numenor-labs.us/dsfx/dsfx/internal/lib/frame"
"git.numenor-labs.us/dsfx/internal/lib/crypto/encryption"
"git.numenor-labs.us/dsfx/internal/lib/frame"
)
// Conn is a wrapper around net.TCPConn that encrypts and decrypts data as it is

View File

@ -6,8 +6,8 @@ import (
"log/slog"
"net"
"numenor-labs.us/dsfx/dsfx/internal/lib/crypto/identity"
"numenor-labs.us/dsfx/dsfx/internal/lib/handshake"
"git.numenor-labs.us/dsfx/internal/lib/crypto/identity"
"git.numenor-labs.us/dsfx/internal/lib/handshake"
)
// Listener ...

View File

@ -5,8 +5,8 @@ import (
"crypto/ed25519"
"net"
"numenor-labs.us/dsfx/dsfx/internal/lib/handshake"
"numenor-labs.us/dsfx/dsfx/internal/lib/logging"
"git.numenor-labs.us/dsfx/internal/lib/handshake"
"git.numenor-labs.us/dsfx/internal/lib/logging"
)
// Dial ...

View File

@ -4,7 +4,7 @@ import (
"io/fs"
"path/filepath"
"numenor-labs.us/dsfx/dsfx/internal/lib/disk"
"git.numenor-labs.us/dsfx/internal/lib/disk"
)
// StorageScope is an interface that extends the disk.Disk interface by ensuring

View File

@ -4,8 +4,8 @@ import (
"io/fs"
"testing"
"numenor-labs.us/dsfx/dsfx/internal/lib/disk"
"numenor-labs.us/dsfx/dsfx/internal/lib/storage/scoped"
"git.numenor-labs.us/dsfx/internal/lib/disk"
"git.numenor-labs.us/dsfx/internal/lib/storage/scoped"
)
func TestScopedStorage_Scope(t *testing.T) {

View File

@ -3,7 +3,7 @@ package system
import (
"os"
"numenor-labs.us/dsfx/dsfx/internal/lib/disk"
"git.numenor-labs.us/dsfx/internal/lib/disk"
)
// Default returns a default implementation of the System interface.

View File

@ -1,7 +1,7 @@
package system
import (
"numenor-labs.us/dsfx/dsfx/internal/lib/disk"
"git.numenor-labs.us/dsfx/internal/lib/disk"
)
type System interface {

View File

@ -13,12 +13,12 @@ import (
"os"
"strings"
"numenor-labs.us/dsfx/dsfx/internal/lib/crypto/identity"
"numenor-labs.us/dsfx/dsfx/internal/lib/disk"
"numenor-labs.us/dsfx/dsfx/internal/lib/logging"
"numenor-labs.us/dsfx/dsfx/internal/lib/network"
"numenor-labs.us/dsfx/dsfx/internal/lib/storage/scoped"
"numenor-labs.us/dsfx/dsfx/internal/lib/system"
"git.numenor-labs.us/dsfx/internal/lib/crypto/identity"
"git.numenor-labs.us/dsfx/internal/lib/disk"
"git.numenor-labs.us/dsfx/internal/lib/logging"
"git.numenor-labs.us/dsfx/internal/lib/network"
"git.numenor-labs.us/dsfx/internal/lib/storage/scoped"
"git.numenor-labs.us/dsfx/internal/lib/system"
)
const (

View File

@ -8,7 +8,7 @@ import (
"sync"
"time"
"numenor-labs.us/dsfx/dsfx/internal/lib/disk"
"git.numenor-labs.us/dsfx/internal/lib/disk"
)
// Tolerance defines simulation tolerance parameters.

View File

@ -6,8 +6,8 @@ import (
"sync"
"time"
"numenor-labs.us/dsfx/dsfx/internal/lib/disk"
"numenor-labs.us/dsfx/dsfx/internal/lib/system"
"git.numenor-labs.us/dsfx/internal/lib/disk"
"git.numenor-labs.us/dsfx/internal/lib/system"
)
// SimSystem is a simulated implementation of system.System.

View File

@ -4,7 +4,7 @@ import (
"fmt"
"os"
"numenor-labs.us/dsfx/dsfx/internal/lib/crypto/identity"
"git.numenor-labs.us/dsfx/internal/lib/crypto/identity"
)
func main() {