diff --git a/.goreleaser.yml b/.goreleaser.yml index b88d5a5..d766a84 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,6 @@ # This is an example .goreleaser.yml file with some sensible defaults. # Make sure to check the documentation at https://goreleaser.com -project_name: ppf +project_name: ppforge before: hooks: # You may remove this if you don't use go modules. @@ -8,9 +8,9 @@ before: # you may remove this if you don't need go generate #- go generate ./... builds: - - main: ./cmd/ppf/main.go - id: "ppf" - binary: ppf + - main: ./cmd/ppforge/main.go + id: "ppforge" + binary: ppforge # env: # - CGO_ENABLED=0 goarch: diff --git a/cmd/ppf/main.go b/cmd/ppforge/main.go similarity index 51% rename from cmd/ppf/main.go rename to cmd/ppforge/main.go index 244e85c..834ec8a 100644 --- a/cmd/ppf/main.go +++ b/cmd/ppforge/main.go @@ -1,7 +1,7 @@ package main import ( - "gitea.mmo.to/ProtocolPacketForger/ppf/internal/app" + "gitea.mmo.to/ppForge/ppforge/internal/app" ) func main() { diff --git a/go.mod b/go.mod index 873f90d..cdbc2cc 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitea.mmo.to/ProtocolPacketForger/ppf +module gitea.mmo.to/ppForge/ppforge go 1.20 diff --git a/internal/app/app.go b/internal/app/app.go index e580eee..d9ef890 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -3,7 +3,7 @@ package app import ( "fyne.io/fyne/v2" "fyne.io/fyne/v2/app" - "gitea.mmo.to/ProtocolPacketForger/ppf/internal/ui" + "gitea.mmo.to/ppForge/ppforge/internal/ui" ) var fyneApp fyne.App diff --git a/internal/ui/fieldadd.go b/internal/ui/fieldadd.go index 7d55af9..1be9064 100644 --- a/internal/ui/fieldadd.go +++ b/internal/ui/fieldadd.go @@ -2,7 +2,7 @@ package ui import ( "fyne.io/fyne/v2/widget" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocolctl" + "gitea.mmo.to/ppForge/ppforge/protocolctl" ) func GetAdder(pEd *ProtocolEditor) *widget.Button { diff --git a/internal/ui/fieldeditor.go b/internal/ui/fieldeditor.go index 0034ae0..2d94600 100644 --- a/internal/ui/fieldeditor.go +++ b/internal/ui/fieldeditor.go @@ -9,8 +9,8 @@ import ( "fyne.io/fyne/v2/layout" "fyne.io/fyne/v2/theme" "fyne.io/fyne/v2/widget" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocol" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocolctl" + "gitea.mmo.to/ppForge/ppforge/protocol" + "gitea.mmo.to/ppForge/ppforge/protocolctl" ) type FieldEditor struct { diff --git a/internal/ui/fieldview.go b/internal/ui/fieldview.go index 6fd0b98..1950905 100644 --- a/internal/ui/fieldview.go +++ b/internal/ui/fieldview.go @@ -2,7 +2,7 @@ package ui import ( "fyne.io/fyne/v2/widget" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocol" + "gitea.mmo.to/ppForge/ppforge/protocol" ) func CreateView(field protocol.Field) *widget.BaseWidget { diff --git a/internal/ui/metadata.go b/internal/ui/metadata.go index f53a06e..fa0c486 100644 --- a/internal/ui/metadata.go +++ b/internal/ui/metadata.go @@ -7,9 +7,9 @@ import ( "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/layout" "fyne.io/fyne/v2/widget" - "gitea.mmo.to/ProtocolPacketForger/ppf/packet" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocol" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocolctl" + "gitea.mmo.to/ppForge/ppforge/packet" + "gitea.mmo.to/ppForge/ppforge/protocol" + "gitea.mmo.to/ppForge/ppforge/protocolctl" ) type Metadata struct { diff --git a/internal/ui/packeteditor.go b/internal/ui/packeteditor.go index 291d2dd..c018c4d 100644 --- a/internal/ui/packeteditor.go +++ b/internal/ui/packeteditor.go @@ -5,8 +5,8 @@ import ( "fyne.io/fyne/v2" "fyne.io/fyne/v2/container" - "gitea.mmo.to/ProtocolPacketForger/ppf/packet" - "gitea.mmo.to/ProtocolPacketForger/ppf/packetctl" + "gitea.mmo.to/ppForge/ppforge/packet" + "gitea.mmo.to/ppForge/ppforge/packetctl" ) type PacketEditor struct { diff --git a/internal/ui/packetfieldeditor.go b/internal/ui/packetfieldeditor.go index 84bdc55..5f3672a 100644 --- a/internal/ui/packetfieldeditor.go +++ b/internal/ui/packetfieldeditor.go @@ -4,8 +4,8 @@ import ( "fyne.io/fyne/v2" "fyne.io/fyne/v2/container" "fyne.io/fyne/v2/widget" - "gitea.mmo.to/ProtocolPacketForger/ppf/packet" - "gitea.mmo.to/ProtocolPacketForger/ppf/packetctl" + "gitea.mmo.to/ppForge/ppforge/packet" + "gitea.mmo.to/ppForge/ppforge/packetctl" ) type PacketFieldEditor struct { diff --git a/internal/ui/packetfilehandler.go b/internal/ui/packetfilehandler.go index 21d007d..647b03a 100644 --- a/internal/ui/packetfilehandler.go +++ b/internal/ui/packetfilehandler.go @@ -2,8 +2,8 @@ package ui import ( "fyne.io/fyne/v2/container" - "gitea.mmo.to/ProtocolPacketForger/ppf/packet" - "gitea.mmo.to/ProtocolPacketForger/ppf/packetctl" + "gitea.mmo.to/ppForge/ppforge/packet" + "gitea.mmo.to/ppForge/ppforge/packetctl" ) // PacketFileHandler implements TabProvider, FileHandler diff --git a/internal/ui/protocoleditor.go b/internal/ui/protocoleditor.go index d3b3e85..5005003 100644 --- a/internal/ui/protocoleditor.go +++ b/internal/ui/protocoleditor.go @@ -5,8 +5,8 @@ import ( "fyne.io/fyne/v2" "fyne.io/fyne/v2/container" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocol" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocolctl" + "gitea.mmo.to/ppForge/ppforge/protocol" + "gitea.mmo.to/ppForge/ppforge/protocolctl" ) type ProtocolEditor struct { diff --git a/internal/ui/protocolfilehandler.go b/internal/ui/protocolfilehandler.go index 7abff9d..9af7360 100644 --- a/internal/ui/protocolfilehandler.go +++ b/internal/ui/protocolfilehandler.go @@ -5,8 +5,8 @@ import ( "fyne.io/fyne/v2" "fyne.io/fyne/v2/container" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocol" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocolctl" + "gitea.mmo.to/ppForge/ppforge/protocol" + "gitea.mmo.to/ppForge/ppforge/protocolctl" ) // implements FileHandler, TabProvider diff --git a/packet/fieldvalue.go b/packet/fieldvalue.go index 66178a2..3a8d6c9 100644 --- a/packet/fieldvalue.go +++ b/packet/fieldvalue.go @@ -1,6 +1,6 @@ package packet -import "gitea.mmo.to/ProtocolPacketForger/ppf/protocol" +import "gitea.mmo.to/ppForge/ppforge/protocol" // FieldValue implements protocol.ProtocolFieldReferencer type FieldValue struct { diff --git a/packet/packet.go b/packet/packet.go index 6ed4d36..220a9eb 100644 --- a/packet/packet.go +++ b/packet/packet.go @@ -1,6 +1,6 @@ package packet -import "gitea.mmo.to/ProtocolPacketForger/ppf/protocol" +import "gitea.mmo.to/ppForge/ppforge/protocol" // Layer implements protocol.ProtocolReferencer type Layer struct { diff --git a/packetctl/packetctl.go b/packetctl/packetctl.go index e7a57fc..9f79b82 100644 --- a/packetctl/packetctl.go +++ b/packetctl/packetctl.go @@ -5,7 +5,7 @@ import ( "io/fs" "os" - "gitea.mmo.to/ProtocolPacketForger/ppf/packet" + "gitea.mmo.to/ppForge/ppforge/packet" ) func NewPacketStructure() *packet.Structure { diff --git a/protocolctl/protocolctl.go b/protocolctl/protocolctl.go index de51d1c..f2b5acb 100644 --- a/protocolctl/protocolctl.go +++ b/protocolctl/protocolctl.go @@ -5,7 +5,7 @@ import ( "io/fs" "os" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocol" + "gitea.mmo.to/ppForge/ppforge/protocol" ) func NewProtocolStructure() *protocol.ProtocolStructure { diff --git a/protocolctl/protocolctl_test.go b/protocolctl/protocolctl_test.go index f5be6f5..0451b10 100644 --- a/protocolctl/protocolctl_test.go +++ b/protocolctl/protocolctl_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocol" + "gitea.mmo.to/ppForge/ppforge/protocol" ) func TestUpdateMetaData(t *testing.T) { diff --git a/protocoldb/protocoldb.go b/protocoldb/protocoldb.go index c82e377..9cb55a0 100644 --- a/protocoldb/protocoldb.go +++ b/protocoldb/protocoldb.go @@ -8,8 +8,8 @@ import ( "path/filepath" "strings" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocol" - "gitea.mmo.to/ProtocolPacketForger/ppf/protocolctl" + "gitea.mmo.to/ppForge/ppforge/protocol" + "gitea.mmo.to/ppForge/ppforge/protocolctl" ) // PPFDatabases is a list of all databases, with the most simple interface