Skip to content

Commit 4e1336c

Browse files
author
Felipe Dutra Tine e Silva
committed
Add Hedears for metedata on Tree
1 parent b28c332 commit 4e1336c

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

tree.go

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ type Tree struct {
2323

2424
ctx context.Context
2525

26-
ID int `json:"id"`
27-
Name string `json:"name"`
28-
ParentID int `json:"parent_id"`
29-
Value interface{} `json:"value"`
30-
Operator string `json:"operator"`
31-
Key string `json:"key"`
32-
Order int `json:"order"`
33-
Content interface{} `json:"content"`
26+
ID int `json:"id"`
27+
Name string `json:"name"`
28+
ParentID int `json:"parent_id"`
29+
Value interface{} `json:"value"`
30+
Operator string `json:"operator"`
31+
Key string `json:"key"`
32+
Order int `json:"order"`
33+
Content interface{} `json:"content"`
34+
Headers map[string]interface{} `json:"headers"`
3435
}
3536

3637
type byOrder []*Tree

0 commit comments

Comments
 (0)