From 162f86c894396dc18f48378c58adbfa4f5058bbb Mon Sep 17 00:00:00 2001 From: Derek McQuay Date: Sat, 4 Feb 2017 23:54:07 -0800 Subject: [PATCH] updated tranx type --- tranx.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tranx.go b/tranx.go index 1b7ab21..892cbf9 100644 --- a/tranx.go +++ b/tranx.go @@ -3,11 +3,11 @@ package chipmunk import "time" type tranx struct { - ID int `json:"id"` - Cost float64 `json:"cost"` - Store string `json:"store"` - Info string `json:"info"` - Month time.Month `json:"month"` - User_ID int `json:"user_id"` - Category_ID int `json:"category_id"` + ID int `json:"id"` + Cost float64 `json:"cost"` + Store string `json:"store"` + Info string `json:"info"` + Date time.Time `json:"date"` + User_ID int `json:"user_id"` + Category_ID int `json:"category_id"` }