From 7a73f69fe9b592e51ca84ae9049a4747128aec7b Mon Sep 17 00:00:00 2001 From: saxon Date: Mon, 7 Jan 2019 11:59:46 +1030 Subject: [PATCH] psi: MetaData struct => TimeLocation and also not initialising anymore --- stream/mts/encoder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stream/mts/encoder.go b/stream/mts/encoder.go index 31fe4923..618817ea 100644 --- a/stream/mts/encoder.go +++ b/stream/mts/encoder.go @@ -41,12 +41,12 @@ const ( psiSendCount = 7 ) -type MetaData struct { +type TimeLocation struct { time uint64 location string } -var metaData = MetaData{time: 0, location: ""} +var metaData = TimeLocation{} func SetTimeStamp(t uint64) { metaData.time = t