add FIXME comments for mapstructure usage in go.mod and text.go

This commit is contained in:
adman
2026-05-08 12:23:27 +02:00
parent a44c5f8606
commit fe51287cc6
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ module github.com/admin-else/strom
go 1.26.2 go 1.26.2
require ( require (
github.com/go-viper/mapstructure/v2 v2.4.0 github.com/go-viper/mapstructure/v2 v2.4.0 // FIXME: this should be replaced with my version
github.com/google/go-cmp v0.7.0 github.com/google/go-cmp v0.7.0
github.com/google/uuid v1.6.0 github.com/google/uuid v1.6.0
) )
+2
View File
@@ -8,6 +8,8 @@ import (
"github.com/admin-else/strom/nbt" "github.com/admin-else/strom/nbt"
) )
// FIXME: this should use the mapstruct thing
// Component represents a Minecraft text component. // Component represents a Minecraft text component.
// https://minecraft.wiki/w/Text_component_format // https://minecraft.wiki/w/Text_component_format
type Component struct { type Component struct {