added month to tranx

This commit is contained in:
Derek McQuay 2016-08-23 09:15:34 -07:00
parent 0b959fedfe
commit 08880ea88b
2 changed files with 7 additions and 3 deletions

View File

@ -122,6 +122,7 @@ func (s *Server) tranx(w http.ResponseWriter, r *http.Request) {
Cost: t.Cost,
Store: t.Store,
Info: t.Info,
Month: t.Month,
},
)
}

View File

@ -1,7 +1,10 @@
package chipmunk
import "time"
type tranx struct {
Cost float32 `json:"cost"`
Store string `json:"store"`
Info string `json:"Info"`
Cost float32 `json:"cost"`
Store string `json:"store"`
Info string `json:"Info"`
Month time.Month `json:"Month"`
}