From 8fa32904067753d2a38c768d4f70fd13a5b28605 Mon Sep 17 00:00:00 2001 From: Derek McQuay Date: Sun, 5 Feb 2017 00:04:24 -0800 Subject: [PATCH] updated tranx type... again --- tranx.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tranx.go b/tranx.go index 892cbf9..046b8f7 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"` - Date time.Time `json:"date"` - 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 int `json:"user"` + Category int `json:"category"` }