From cd8eae6331c7a120e1bd6f7267ca13f5f1670754 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 17 Jan 2022 15:33:03 +0100 Subject: [PATCH] types.go: Add json tags --- types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types.go b/types.go index 4c5d5f1..bcabf76 100644 --- a/types.go +++ b/types.go @@ -6,8 +6,8 @@ import ( ) type ActionTrace struct { - Receiver eos.Name - Contract eos.AccountName - Action eos.ActionName - Data interface{} + Receiver eos.Name `json:"receiver"` + Contract eos.AccountName `json:"contract"` + Action eos.ActionName `json:"action"` + Data interface{} `json:"data"` }