From 0ce69d9b5b65f41eb35475c534e7c9d4c1d7356f Mon Sep 17 00:00:00 2001 From: Garionion Date: Fri, 29 Dec 2023 12:38:20 +0100 Subject: [PATCH] feat: add offset field to telemetry --- main.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 4de420e..5633136 100644 --- a/main.go +++ b/main.go @@ -11,9 +11,10 @@ import ( ) type Telemetry struct { - Slug string `json:"slug"` - EventType string `json:"type"` - QualityChangeUp bool `json:"isUp"` + Slug string `json:"slug"` + EventType string `json:"type"` + QualityChangeUp bool `json:"isUp"` + Offset float32 `json:"offset"` } type metrics struct {