From cecb5e113cd6b3ca0546cd9f5b06ce5e20eeaafd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Sun, 30 Aug 2020 01:45:01 +0200 Subject: [PATCH] chore: remove debug comments --- models/shared.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/shared.go b/models/shared.go index 8cb5712..92a715e 100644 --- a/models/shared.go +++ b/models/shared.go @@ -27,7 +27,7 @@ type KeyStringValue struct { type CustomTime time.Time func (j *CustomTime) UnmarshalJSON(b []byte) error { - s := strings.Replace(strings.Trim(string(b), "\""), ".", "", 1) // TODO: not always three decimal points! + s := strings.Replace(strings.Trim(string(b), "\""), ".", "", 1) i, err := strconv.ParseInt(s, 10, 64) if err != nil { return err