psi: MetaData struct => TimeLocation and also not initialising anymore

This commit is contained in:
saxon 2019-01-07 11:59:46 +10:30
parent 703f0a0523
commit 7a73f69fe9
1 changed files with 2 additions and 2 deletions

View File

@ -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