From cd39f7fb0ba6516ed562e2c2012d0880364fa8b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=A2=93=E5=81=A5?= Date: Wed, 30 Dec 2020 15:00:22 +0800 Subject: [PATCH] =?UTF-8?q?core.go=20TimeArrow=20=E6=B7=BB=E5=8A=A0=20Exte?= =?UTF-8?q?nsion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core.go b/core.go index 0e4345c..ccecd22 100644 --- a/core.go +++ b/core.go @@ -38,6 +38,8 @@ type TimeArrow struct { ExpandTags []string `json:"expand_tags"` ExpandValue interface{} `json:"expand_value"` Weights float64 `json:"weights"` + + Extension map[string]interface{} `json:"extension"` } type TimeArrows []TimeArrow