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"` }