updated tranx type

This commit is contained in:
Derek McQuay 2017-02-04 23:54:07 -08:00
parent 065b0d2cc6
commit 162f86c894
No known key found for this signature in database
GPG Key ID: 92A7BC0C86B0B91A

View File

@ -3,11 +3,11 @@ package chipmunk
import "time" import "time"
type tranx struct { type tranx struct {
ID int `json:"id"` ID int `json:"id"`
Cost float64 `json:"cost"` Cost float64 `json:"cost"`
Store string `json:"store"` Store string `json:"store"`
Info string `json:"info"` Info string `json:"info"`
Month time.Month `json:"month"` Date time.Time `json:"date"`
User_ID int `json:"user_id"` User_ID int `json:"user_id"`
Category_ID int `json:"category_id"` Category_ID int `json:"category_id"`
} }