mirror of
https://github.com/jwetzell/psn-go.git
synced 2026-09-10 16:49:44 +00:00
cleanup json fields
This commit is contained in:
@@ -44,7 +44,7 @@ func decodeDataPacketChunkData(dataPacketChunk Chunk) DataPacketChunkData {
|
|||||||
|
|
||||||
type DataPacketChunk struct {
|
type DataPacketChunk struct {
|
||||||
Chunk Chunk
|
Chunk Chunk
|
||||||
Data DataPacketChunkData `json:"data"`
|
Data DataPacketChunkData
|
||||||
}
|
}
|
||||||
|
|
||||||
func DecodeDataPacketChunk(bytes []byte) DataPacketChunk {
|
func DecodeDataPacketChunk(bytes []byte) DataPacketChunk {
|
||||||
|
|||||||
+3
-3
@@ -6,9 +6,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type XYZData struct {
|
type XYZData struct {
|
||||||
X float32 `json:"x"`
|
X float32
|
||||||
Y float32 `json:"y"`
|
Y float32
|
||||||
Z float32 `json:"z"`
|
Z float32
|
||||||
}
|
}
|
||||||
|
|
||||||
type Tracker struct {
|
type Tracker struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user