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