From b30d0c3465f12ff0c179b6123fa07e87e856b48b Mon Sep 17 00:00:00 2001 From: Gitea Date: Sat, 7 May 2022 11:59:39 +0300 Subject: [PATCH] No more github --- src/fsys/file.go | 2 +- src/go.mod | 2 +- src/main.go | 2 +- src/node/node.go | 10 +++++----- src/protocol/packet.go | 2 +- src/protocol/packetConstruct.go | 2 +- src/protocol/packetDecode.go | 2 +- src/protocol/send.go | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/fsys/file.go b/src/fsys/file.go index d44d9f4..6a03437 100644 --- a/src/fsys/file.go +++ b/src/fsys/file.go @@ -25,7 +25,7 @@ import ( "os" "path/filepath" - "github.com/Unbewohnte/ftu/checksum" + "unbewohnte.xyz/Unbewohnte/ftu/checksum" ) // A struct that represents the necessary file information for transportation through node diff --git a/src/go.mod b/src/go.mod index 21c6671..a1d2b5d 100644 --- a/src/go.mod +++ b/src/go.mod @@ -1,3 +1,3 @@ -module github.com/Unbewohnte/ftu +module unbewohnte.xyz/Unbewohnte/ftu go 1.17 diff --git a/src/main.go b/src/main.go index 4b280d6..485e918 100644 --- a/src/main.go +++ b/src/main.go @@ -26,7 +26,7 @@ import ( "fmt" "os" - "github.com/Unbewohnte/ftu/node" + "unbewohnte.xyz/Unbewohnte/ftu/node" ) var ( diff --git a/src/node/node.go b/src/node/node.go index cd3ed28..19427b0 100644 --- a/src/node/node.go +++ b/src/node/node.go @@ -32,11 +32,11 @@ import ( "fmt" - "github.com/Unbewohnte/ftu/addr" - "github.com/Unbewohnte/ftu/checksum" - "github.com/Unbewohnte/ftu/encryption" - "github.com/Unbewohnte/ftu/fsys" - "github.com/Unbewohnte/ftu/protocol" + "unbewohnte.xyz/Unbewohnte/ftu/addr" + "unbewohnte.xyz/Unbewohnte/ftu/checksum" + "unbewohnte.xyz/Unbewohnte/ftu/encryption" + "unbewohnte.xyz/Unbewohnte/ftu/fsys" + "unbewohnte.xyz/Unbewohnte/ftu/protocol" ) // netInfowork specific settings diff --git a/src/protocol/packet.go b/src/protocol/packet.go index a93ebc7..f1e3944 100644 --- a/src/protocol/packet.go +++ b/src/protocol/packet.go @@ -31,7 +31,7 @@ import ( "fmt" "strings" - "github.com/Unbewohnte/ftu/encryption" + "unbewohnte.xyz/Unbewohnte/ftu/encryption" ) // Internal representation of packet before|after the transportation diff --git a/src/protocol/packetConstruct.go b/src/protocol/packetConstruct.go index e0ff2fc..833e69c 100644 --- a/src/protocol/packetConstruct.go +++ b/src/protocol/packetConstruct.go @@ -25,7 +25,7 @@ import ( "bytes" "encoding/binary" - "github.com/Unbewohnte/ftu/fsys" + "unbewohnte.xyz/Unbewohnte/ftu/fsys" ) // constructs a ready to send FILE packet diff --git a/src/protocol/packetDecode.go b/src/protocol/packetDecode.go index cc13ae8..9659041 100644 --- a/src/protocol/packetDecode.go +++ b/src/protocol/packetDecode.go @@ -26,7 +26,7 @@ import ( "encoding/binary" "fmt" - "github.com/Unbewohnte/ftu/fsys" + "unbewohnte.xyz/Unbewohnte/ftu/fsys" ) var ErrorWrongPacket error = fmt.Errorf("wrong type of packet header") diff --git a/src/protocol/send.go b/src/protocol/send.go index 902c40c..7a42749 100644 --- a/src/protocol/send.go +++ b/src/protocol/send.go @@ -28,8 +28,8 @@ import ( "io" "net" - "github.com/Unbewohnte/ftu/encryption" - "github.com/Unbewohnte/ftu/fsys" + "unbewohnte.xyz/Unbewohnte/ftu/encryption" + "unbewohnte.xyz/Unbewohnte/ftu/fsys" ) // Sends given packet to connection.