From 974c34559af63cc86f4c6a7b436f9da4eb97eea2 Mon Sep 17 00:00:00 2001 From: lordwelch Date: Mon, 6 Nov 2017 23:09:12 -0700 Subject: [PATCH] Json tags --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 18352c2..67fa71a 100644 --- a/main.go +++ b/main.go @@ -15,8 +15,8 @@ import ( ) type Key struct { - modifier string - decimal int + Modifier string `json:"modifier"` + Decimal int `json:"decimal"` } type Keys map[string]Key