migrate: move module path to git.anygate.cloud/anygatecloud/strom
Go / build (push) Failing after 9s

This commit is contained in:
OpenCode
2026-08-06 15:43:20 +02:00
parent ac12f5c93b
commit 78442c5c68
97 changed files with 294 additions and 264 deletions
+30
View File
@@ -0,0 +1,30 @@
name: Go
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout with LFS
uses: actions/checkout@v4
with:
lfs: true
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.26.2"
- name: Build
run: go build -v ./...
- name: Vet
run: go vet -v ./...
- name: Test
run: go test -v ./...
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"log/slog"
"os"
"github.com/admin-else/strom/mc/api"
"git.anygate.cloud/anygatecloud/strom/mc/api"
)
var cmd = flag.NewFlagSet("api", flag.ContinueOnError)
+1 -1
View File
@@ -1,6 +1,6 @@
package cmd_util
import "github.com/admin-else/strom/mc/api"
import "git.anygate.cloud/anygatecloud/strom/mc/api"
func Account(s string) (a *api.Account, err error) {
if len(s) > 16 {
+3 -3
View File
@@ -7,9 +7,9 @@ import (
"os"
"slices"
mcdata "github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/proto_generated"
"github.com/admin-else/strom/mc/util"
mcdata "git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated"
"git.anygate.cloud/anygatecloud/strom/mc/util"
)
// strom data 1.21.11 blocks id 0 name => air
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"log/slog"
"os"
"github.com/admin-else/strom/mc/level/anvil"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/level/anvil"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
)
var (
+15 -15
View File
@@ -9,21 +9,21 @@ import (
"runtime/debug"
"slices"
"github.com/admin-else/strom/cmd/strom/api"
"github.com/admin-else/strom/cmd/strom/data"
"github.com/admin-else/strom/cmd/strom/extract_mca"
"github.com/admin-else/strom/cmd/strom/mca_to_tmcpr"
"github.com/admin-else/strom/cmd/strom/messenger"
"github.com/admin-else/strom/cmd/strom/offline_uuid"
"github.com/admin-else/strom/cmd/strom/packet_info"
"github.com/admin-else/strom/cmd/strom/packet_inspector"
"github.com/admin-else/strom/cmd/strom/print_nbt"
"github.com/admin-else/strom/cmd/strom/print_replay"
// "github.com/admin-else/strom/cmd/strom/raw_capture" // removed: use tcpflow instead for raw TCP capture
"github.com/admin-else/strom/cmd/strom/raw_to_tmcpr"
"github.com/admin-else/strom/cmd/strom/serve_tmcpr"
"github.com/admin-else/strom/cmd/strom/serve_world"
"github.com/admin-else/strom/cmd/strom/status"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/api"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/data"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/extract_mca"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/mca_to_tmcpr"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/messenger"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/offline_uuid"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/packet_info"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/packet_inspector"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/print_nbt"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/print_replay"
// "git.anygate.cloud/anygatecloud/strom/cmd/strom/raw_capture" // removed: use tcpflow instead for raw TCP capture
"git.anygate.cloud/anygatecloud/strom/cmd/strom/raw_to_tmcpr"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/serve_tmcpr"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/serve_world"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/status"
)
var ExpectedASubcommandErr = errors.New("expected a subcommand")
+6 -6
View File
@@ -8,12 +8,12 @@ import (
"os"
"path/filepath"
"github.com/admin-else/strom/mc/level"
"github.com/admin-else/strom/mc/level/anvil"
"github.com/admin-else/strom/mc/nbt"
"github.com/admin-else/strom/mc/proto/replay"
"github.com/admin-else/strom/mc/proto_generated/v1_21_11"
"github.com/admin-else/strom/mc/util"
"git.anygate.cloud/anygatecloud/strom/mc/level"
"git.anygate.cloud/anygatecloud/strom/mc/level/anvil"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto/replay"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_11"
"git.anygate.cloud/anygatecloud/strom/mc/util"
)
var (
+10 -10
View File
@@ -7,16 +7,16 @@ import (
"strconv"
"strings"
"github.com/admin-else/strom/cmd/strom/cmd_util"
"github.com/admin-else/strom/mc/bot/chat"
"github.com/admin-else/strom/mc/bot/keepalive"
"github.com/admin-else/strom/mc/bot/world"
"github.com/admin-else/strom/mc/client"
"github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_generated/v1_21_11"
"github.com/admin-else/strom/mc/proto_generated/v1_8"
"git.anygate.cloud/anygatecloud/strom/cmd/strom/cmd_util"
"git.anygate.cloud/anygatecloud/strom/mc/bot/chat"
"git.anygate.cloud/anygatecloud/strom/mc/bot/keepalive"
"git.anygate.cloud/anygatecloud/strom/mc/bot/world"
"git.anygate.cloud/anygatecloud/strom/mc/client"
"git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_11"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_8"
)
func stror(a, b string) string {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"flag"
"fmt"
"github.com/admin-else/strom/mc/crypto"
"git.anygate.cloud/anygatecloud/strom/mc/crypto"
)
var cmd = flag.NewFlagSet("offline-uuid", flag.ContinueOnError)
+4 -4
View File
@@ -5,10 +5,10 @@ import (
"fmt"
"strconv"
"github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated"
"git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated"
)
var cmd = flag.NewFlagSet("packet-info", flag.ContinueOnError)
+9 -9
View File
@@ -7,15 +7,15 @@ import (
"os"
"time"
"github.com/admin-else/strom/mc/api"
"github.com/admin-else/strom/mc/client"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/nbt"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_21_11"
"github.com/admin-else/strom/mc/server"
"github.com/admin-else/strom/mc/text"
"git.anygate.cloud/anygatecloud/strom/mc/api"
"git.anygate.cloud/anygatecloud/strom/mc/client"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_11"
"git.anygate.cloud/anygatecloud/strom/mc/server"
"git.anygate.cloud/anygatecloud/strom/mc/text"
)
var Cmd = flag.NewFlagSet("packet-inspector", flag.ContinueOnError)
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"fmt"
"os"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
)
var (
+2 -2
View File
@@ -15,8 +15,8 @@ import (
"reflect"
"strings"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
)
var (
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v26_2"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
// Error: index not found
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v26_2"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
// Error: unexpected EOF
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v26_2"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
// Error: unexpected EOF
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v26_2"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
// Error: unexpected EOF
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v26_2"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
// Error: unexpected EOF
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v26_2"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
// Error: unexpected EOF
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v26_2"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
// Error: unexpected EOF
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v26_2"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
// Error: unexpected EOF
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v26_2"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
// Decode regression: recipe_book_add (26.2) - SlotDisplay type fix
@@ -3,7 +3,7 @@ package failed_packets_test
import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v26_2"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
// Decode regression: declare_commands (26.2) - bitfield + extraNodeData fix
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v1_8"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_8"
)
// Decode regression: spawn_entity_living (1.8) - entityMetadata mergeCompareTo
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v1_8"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_8"
)
// Decode regression: entity_equipment (1.8) - nbt TAG_End fix
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v1_8"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_8"
)
// Decode regression: entity_metadata (1.8) - entityMetadataLoop mergeCompareTo
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
generated "github.com/admin-else/strom/mc/proto_generated/v26_2"
generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
// Decode regression: entity_equipment (26.2) - topBitSetTerminatedArray
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"os"
"time"
"github.com/admin-else/strom/mc/proto/replay"
"github.com/admin-else/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto/replay"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
)
var Cmd = flag.NewFlagSet("raw-to-tmcpr", flag.ContinueOnError)
+5 -5
View File
@@ -9,11 +9,11 @@ import (
"os"
"time"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto/replay"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"github.com/admin-else/strom/mc/server"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto/replay"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/server"
)
type Server struct {
+8 -8
View File
@@ -8,14 +8,14 @@ import (
"os"
"time"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/level"
"github.com/admin-else/strom/mc/level/anvil"
"github.com/admin-else/strom/mc/nbt"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"github.com/admin-else/strom/mc/server"
"github.com/admin-else/strom/mc/util"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/level"
"git.anygate.cloud/anygatecloud/strom/mc/level/anvil"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/server"
"git.anygate.cloud/anygatecloud/strom/mc/util"
)
type Server struct {
+5 -5
View File
@@ -6,11 +6,11 @@ import (
"log/slog"
"time"
"github.com/admin-else/strom/mc/client"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/client"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
)
var cmd = flag.NewFlagSet("status", flag.ContinueOnError)
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/admin-else/strom
module git.anygate.cloud/anygatecloud/strom
go 1.26.2
+1 -1
View File
@@ -1,7 +1,7 @@
package api
import (
"github.com/admin-else/strom/mc/crypto"
"git.anygate.cloud/anygatecloud/strom/mc/crypto"
)
// NewOfflineAccount creates an offline-mode Account with a UUID derived from the
+4 -4
View File
@@ -12,10 +12,10 @@ import (
"fmt"
"time"
"github.com/admin-else/strom/mc/api"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_generated/v1_21_11"
"github.com/admin-else/strom/mc/proto_generated/v1_8"
"git.anygate.cloud/anygatecloud/strom/mc/api"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_11"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_8"
"github.com/google/uuid"
)
+2 -2
View File
@@ -1,8 +1,8 @@
package keepalive
import (
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
)
type mod struct {
+3 -3
View File
@@ -5,9 +5,9 @@ import (
"errors"
"sync"
"github.com/admin-else/strom/mc/level"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_generated/v1_21_11"
"git.anygate.cloud/anygatecloud/strom/mc/level"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_11"
)
var (
+4 -4
View File
@@ -5,10 +5,10 @@ import (
"errors"
"net"
"github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/server"
"git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/server"
)
// Connect connects to the given address note that it does not resolve the SRV records it's just a raw net.Dial
+4 -4
View File
@@ -4,10 +4,10 @@ import (
"errors"
"fmt"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
)
type ConfigIgnorer struct {
+3 -3
View File
@@ -4,9 +4,9 @@ import (
"net"
"strconv"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
)
// MakeHandshakePacket creates a handshake packet using the connection's remote address as the server host.
+10 -10
View File
@@ -9,16 +9,16 @@ import (
"errors"
"net"
"github.com/admin-else/strom/mc/api"
"github.com/admin-else/strom/mc/crypto"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_16_5"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"github.com/admin-else/strom/mc/proto_generated/v1_8"
"github.com/admin-else/strom/mc/proto_generated/v26_2"
"github.com/admin-else/strom/mc/text"
"git.anygate.cloud/anygatecloud/strom/mc/api"
"git.anygate.cloud/anygatecloud/strom/mc/crypto"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_16_5"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_8"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
"git.anygate.cloud/anygatecloud/strom/mc/text"
"github.com/google/uuid"
)
+4 -4
View File
@@ -4,10 +4,10 @@ import (
"reflect"
"testing"
"github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
)
func assertClientSendConvertible(t *testing.T, srcType reflect.Type, name string, state proto_base.State, direction proto_base.Direction, targetVersion int32) {
+6 -6
View File
@@ -5,12 +5,12 @@ import (
"encoding/json"
"time"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"github.com/admin-else/strom/mc/proto_generated/v1_8"
"github.com/admin-else/strom/mc/server"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_8"
"git.anygate.cloud/anygatecloud/strom/mc/server"
)
type StatusClient struct {
+1 -1
View File
@@ -3,7 +3,7 @@ package data_test
import (
"testing"
"github.com/admin-else/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/data"
)
func TestLookupBiomeById(t *testing.T) {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"slices"
"strconv"
"github.com/admin-else/strom/mc/util"
"git.anygate.cloud/anygatecloud/strom/mc/util"
)
// {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"
"github.com/admin-else/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/data"
)
func TestLookupBlockByStateId(t *testing.T) {
+1 -1
View File
@@ -3,7 +3,7 @@ package data_test
import (
"testing"
"github.com/admin-else/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/data"
)
func TestLookUpProtocolVersion(t *testing.T) {
+1 -1
View File
@@ -3,7 +3,7 @@ package data
import (
"embed"
nbt2 "github.com/admin-else/strom/mc/nbt"
nbt2 "git.anygate.cloud/anygatecloud/strom/mc/nbt"
)
// TODO: this is stupid loginPacket.json exists next version migrate to that
+1 -1
View File
@@ -3,7 +3,7 @@ package gen
import (
"math"
"github.com/admin-else/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/data"
)
type NoiseParam int
+1 -1
View File
@@ -3,7 +3,7 @@ package gen
import (
"testing"
"github.com/admin-else/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/data"
)
func TestBiomeNoise_SampleBiome(t *testing.T) {
+2 -2
View File
@@ -1,8 +1,8 @@
package anvil_test
import (
"github.com/admin-else/strom/mc/nbt"
"github.com/admin-else/strom/mc/proto_generated/v1_21_11"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_11"
)
// in seperate file not to lag my ide
+3 -3
View File
@@ -4,9 +4,9 @@ import (
"strings"
"unsafe"
data2 "github.com/admin-else/strom/mc/data"
level2 "github.com/admin-else/strom/mc/level"
"github.com/admin-else/strom/mc/util"
data2 "git.anygate.cloud/anygatecloud/strom/mc/data"
level2 "git.anygate.cloud/anygatecloud/strom/mc/level"
"git.anygate.cloud/anygatecloud/strom/mc/util"
)
type Chunk struct {
+1 -1
View File
@@ -3,7 +3,7 @@ package anvil
import (
"io"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
)
type Level struct {
+3 -3
View File
@@ -7,9 +7,9 @@ import (
"os"
"testing"
"github.com/admin-else/strom/mc/level"
anvil2 "github.com/admin-else/strom/mc/level/anvil"
"github.com/admin-else/strom/mc/util"
"git.anygate.cloud/anygatecloud/strom/mc/level"
anvil2 "git.anygate.cloud/anygatecloud/strom/mc/level/anvil"
"git.anygate.cloud/anygatecloud/strom/mc/util"
)
func TestLevel(t *testing.T) {
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"io"
"os"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
)
type CompressionStrategy uint8
+4 -4
View File
@@ -7,10 +7,10 @@ import (
"strings"
"unsafe"
data2 "github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/level"
"github.com/admin-else/strom/mc/nbt"
"github.com/admin-else/strom/mc/util"
data2 "git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/level"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/util"
"github.com/go-viper/mapstructure/v2"
)
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"embed"
"testing"
data2 "github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/level/litematic"
data2 "git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/level/litematic"
)
//go:embed testdata
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"testing"
"github.com/admin-else/strom/mc/level"
"git.anygate.cloud/anygatecloud/strom/mc/level"
)
func FuzzReadChunkFromChunkPacketData(f *testing.F) {
+3 -3
View File
@@ -7,9 +7,9 @@ import (
"log/slog"
"math"
data2 "github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/util"
data2 "git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/util"
)
type BlockState struct {
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"math"
"slices"
"github.com/admin-else/strom/mc/util"
"git.anygate.cloud/anygatecloud/strom/mc/util"
)
type StorageFormat struct {
+1 -1
View File
@@ -3,7 +3,7 @@ package level_test
import (
"testing"
"github.com/admin-else/strom/mc/level"
"git.anygate.cloud/anygatecloud/strom/mc/level"
)
func heightmapFormat() level.StorageFormat {
+1 -1
View File
@@ -1,7 +1,7 @@
package structure
import (
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"github.com/go-viper/mapstructure/v2"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"reflect"
"github.com/admin-else/strom/mc/util"
"git.anygate.cloud/anygatecloud/strom/mc/util"
)
func (f *Format) decode(m map[string]any, target reflect.Value) error {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"io"
"os"
"github.com/admin-else/strom/mc/mapstructure"
"git.anygate.cloud/anygatecloud/strom/mc/mapstructure"
)
var Format = mapstructure.NewFormat("nbt", mapstructure.WithRequireAll(), mapstructure.WithTrySnakeCase(), mapstructure.WithTryLowCase())
+4 -4
View File
@@ -12,10 +12,10 @@ import (
"strings"
"sync"
"github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated"
"git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated"
)
const (
+3 -3
View File
@@ -5,9 +5,9 @@ import (
"math"
"testing"
"github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
)
+4 -4
View File
@@ -6,10 +6,10 @@ import (
"strings"
"testing"
"github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated"
"git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated"
)
func TestPacketRoundTripAllVersions(t *testing.T) {
+2 -2
View File
@@ -3,8 +3,8 @@ package proto
import (
"reflect"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated"
)
type PidEtc struct {
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"net"
"sync"
"github.com/admin-else/strom/mc/crypto"
"github.com/admin-else/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/crypto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
)
type RawConn struct {
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"io"
"reflect"
proto2 "github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
proto2 "git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
)
type Reader struct {
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"encoding/binary"
"io"
proto2 "github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
proto2 "git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
)
type Writer struct {
+4 -4
View File
@@ -5,10 +5,10 @@ import (
"reflect"
"slices"
"github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated"
"git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated"
)
// SmartConvertibleTo reports whether a value of type from can be recursively converted to type to.
+5 -5
View File
@@ -4,11 +4,11 @@ import (
"reflect"
"testing"
proto2 "github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_generated/v1_21_11"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"github.com/admin-else/strom/mc/proto_generated/v1_21_9"
"github.com/admin-else/strom/mc/proto_generated/v26_2"
proto2 "git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_11"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_9"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
func TestCanSmartConvert(t *testing.T) {
+10 -10
View File
@@ -1,16 +1,16 @@
package proto_generated
import (
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_8"
"github.com/admin-else/strom/mc/proto_generated/v1_12_2"
"github.com/admin-else/strom/mc/proto_generated/v1_14_4"
"github.com/admin-else/strom/mc/proto_generated/v1_16_5"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"github.com/admin-else/strom/mc/proto_generated/v1_21_9"
"github.com/admin-else/strom/mc/proto_generated/v1_21_11"
"github.com/admin-else/strom/mc/proto_generated/v26_1"
"github.com/admin-else/strom/mc/proto_generated/v26_2"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_8"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_12_2"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_14_4"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_16_5"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_9"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_11"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_1"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
)
var SupportedVersions = []string{"1.8", "1.12.2", "1.14.4", "1.16.5", "1.21.8", "1.21.9", "1.21.11", "26.1", "26.2"}
+2 -2
View File
@@ -6,8 +6,8 @@ package v1_12_2
import (
"encoding/binary"
"io"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"github.com/google/uuid"
)
+2 -2
View File
@@ -6,8 +6,8 @@ package v1_14_4
import (
"encoding/binary"
"io"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"github.com/google/uuid"
)
+2 -2
View File
@@ -6,8 +6,8 @@ package v1_16_5
import (
"encoding/binary"
"io"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"github.com/google/uuid"
)
+2 -2
View File
@@ -6,8 +6,8 @@ package v1_21_11
import (
"encoding/binary"
"io"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"github.com/google/uuid"
)
+2 -2
View File
@@ -6,8 +6,8 @@ package v1_21_8
import (
"encoding/binary"
"io"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"github.com/google/uuid"
)
+2 -2
View File
@@ -6,8 +6,8 @@ package v1_21_9
import (
"encoding/binary"
"io"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"github.com/google/uuid"
)
+2 -2
View File
@@ -6,8 +6,8 @@ package v1_8
import (
"encoding/binary"
"io"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"github.com/google/uuid"
)
+2 -2
View File
@@ -6,8 +6,8 @@ package v26_1
import (
"encoding/binary"
"io"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"github.com/google/uuid"
)
+2 -2
View File
@@ -6,8 +6,8 @@ package v26_2
import (
"encoding/binary"
"io"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"github.com/google/uuid"
)
+2 -2
View File
@@ -21,10 +21,10 @@ type PacketInfo struct {
func GeneratePacketInfoFile(versions []string, packetInfos []PacketInfo) (err error) {
f := NewFile("proto_generated")
imports := []string{"github.com/admin-else/strom/mc/proto_base"}
imports := []string{"git.anygate.cloud/anygatecloud/strom/mc/proto_base"}
for _, v := range versions {
vUnderscore := strings.ReplaceAll(v, ".", "_")
imports = append(imports, "github.com/admin-else/strom/mc/proto_generated/v"+vUnderscore)
imports = append(imports, "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v"+vUnderscore)
}
AppendDecl(f, Import(imports...))
+3 -3
View File
@@ -14,8 +14,8 @@ import (
"strconv"
"strings"
data2 "github.com/admin-else/strom/mc/data"
util2 "github.com/admin-else/strom/mc/util"
data2 "git.anygate.cloud/anygatecloud/strom/mc/data"
util2 "git.anygate.cloud/anygatecloud/strom/mc/util"
)
var ToDoError = errors.New("to do")
@@ -453,7 +453,7 @@ func Generate(version string, w io.Writer, sourceHash string) (packetInfos []Pac
sourcePath, sourceHash, toolVersion, goVersion)
AddFileComment(g.File, comment)
AppendDecl(g.File, Import("encoding/binary", "io", "github.com/admin-else/strom/mc/proto_base", "github.com/admin-else/strom/mc/nbt", "github.com/google/uuid"))
AppendDecl(g.File, Import("encoding/binary", "io", "git.anygate.cloud/anygatecloud/strom/mc/proto_base", "git.anygate.cloud/anygatecloud/strom/mc/nbt", "github.com/google/uuid"))
g.RegisterNatives()
g.RegisterDecoderNatives()
g.RegisterEncoderNatives()
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"go/ast"
"strings"
"github.com/admin-else/strom/mc/proto_generator/protodef"
util2 "github.com/admin-else/strom/mc/util"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generator/protodef"
util2 "git.anygate.cloud/anygatecloud/strom/mc/util"
"github.com/go-viper/mapstructure/v2"
)
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"slices"
"strconv"
"github.com/admin-else/strom/mc/proto_generator/protodef"
util2 "github.com/admin-else/strom/mc/util"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generator/protodef"
util2 "git.anygate.cloud/anygatecloud/strom/mc/util"
"github.com/go-viper/mapstructure/v2"
)
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"go/token"
"slices"
"github.com/admin-else/strom/mc/proto_generator/protodef"
util2 "github.com/admin-else/strom/mc/util"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generator/protodef"
util2 "git.anygate.cloud/anygatecloud/strom/mc/util"
"github.com/go-viper/mapstructure/v2"
)
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"fmt"
"go/ast"
"github.com/admin-else/strom/mc/proto_generator/protodef"
"github.com/admin-else/strom/mc/util"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generator/protodef"
"git.anygate.cloud/anygatecloud/strom/mc/util"
"github.com/go-viper/mapstructure/v2"
)
+6 -6
View File
@@ -1,12 +1,12 @@
package server
import (
"github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/nbt"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
)
type ConfigServer struct {
+5 -5
View File
@@ -5,11 +5,11 @@ import (
"fmt"
"github.com/admin-else/strom/mc/nbt"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"github.com/admin-else/strom/mc/text"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/text"
)
var (
+8 -8
View File
@@ -10,14 +10,14 @@ import (
"log/slog"
"slices"
api2 "github.com/admin-else/strom/mc/api"
"github.com/admin-else/strom/mc/crypto"
"github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/event"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"github.com/admin-else/strom/mc/proto_generated/v26_2"
api2 "git.anygate.cloud/anygatecloud/strom/mc/api"
"git.anygate.cloud/anygatecloud/strom/mc/crypto"
"git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/event"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2"
"github.com/google/uuid"
)
+4 -4
View File
@@ -4,10 +4,10 @@ import (
"reflect"
"testing"
"github.com/admin-else/strom/mc/data"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/data"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
)
func assertSendConvertible(t *testing.T, srcType reflect.Type, name string, state proto_base.State, direction proto_base.Direction, targetVersion int32) {
+3 -3
View File
@@ -5,9 +5,9 @@ import (
"net"
"sync/atomic"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_base"
"github.com/admin-else/strom/mc/text"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_base"
"git.anygate.cloud/anygatecloud/strom/mc/text"
)
// Servee wraps a net.Conn in a new proto.Conn configured for the servee side.
+3 -3
View File
@@ -3,9 +3,9 @@ package server
import (
"encoding/json"
"github.com/admin-else/strom/mc/proto"
"github.com/admin-else/strom/mc/proto_generated/v1_21_8"
"github.com/admin-else/strom/mc/text"
"git.anygate.cloud/anygatecloud/strom/mc/proto"
"git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_21_8"
"git.anygate.cloud/anygatecloud/strom/mc/text"
)
// These are separate types so a status definition looks less ugly
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt"
"strings"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
)
// FIXME: this should use the mapstruct thing
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"reflect"
"testing"
"github.com/admin-else/strom/mc/nbt"
"git.anygate.cloud/anygatecloud/strom/mc/nbt"
"github.com/google/go-cmp/cmp"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package util_test
import (
"testing"
"github.com/admin-else/strom/mc/util"
"git.anygate.cloud/anygatecloud/strom/mc/util"
)
func TestCamelCase(t *testing.T) {