From f5d1e2aca370ff918f3233b1d3534c113a371dc5 Mon Sep 17 00:00:00 2001 From: Derek McQuay Date: Fri, 20 Jan 2017 14:22:01 -0800 Subject: [PATCH] pushing to github --- category.go | 48 ++++++++++++++++++++++++++++++ server.go | 3 +- static.go | 86 +++++++++++++---------------------------------------- tranx.go | 2 +- user.go | 3 +- 5 files changed, 72 insertions(+), 70 deletions(-) create mode 100644 category.go diff --git a/category.go b/category.go new file mode 100644 index 0000000..176ebe6 --- /dev/null +++ b/category.go @@ -0,0 +1,48 @@ +package chipmunk + +import ( + "fmt" + "time" +) + +type category struct { + Name string `json:"name"` + Budget float64 `json:"budget"` + Month month `json:"month"` +} + +type month struct { + M time.Month `json:"m"` + Txs []tranx `json:"txs"` +} + +func getCategory(e string) (int, error) { + for i, c := range categories { + if e == c.Name { + return i, nil + } + } + return 0, fmt.Errorf("could not find category") +} + +//addUser adds user to slice of users +func addCategory(c category) { + _, err := getCategory(c.Name) + if err != nil { + categories = append( + categories, + category{ + Name: c.Name, + Budget: c.Budget, + }, + ) + } +} + +func sumMonth(m month) float64 { + sum := 0.0 + for _, t := range m.Txs { + sum += t.Cost + } + return sum +} diff --git a/server.go b/server.go index 28c8916..299c562 100644 --- a/server.go +++ b/server.go @@ -33,6 +33,7 @@ var ( var Version string = "dev" var start time.Time var users []user +var categories []category type failure struct { Success bool `json:"success"` @@ -88,7 +89,7 @@ func (s *Server) tranx(w http.ResponseWriter, r *http.Request) { //} switch r.Method { default: - b, _ := json.Marshal(NewFailure("Allowed method: POST")) + b, _ := json.Marshal(NewFailure("Allowed method: POST and GET")) http.Error(w, string(b), http.StatusBadRequest) return case "GET": diff --git a/static.go b/static.go index 4ee84f8..6f1bb49 100644 --- a/static.go +++ b/static.go @@ -1,6 +1,5 @@ // Code generated by go-bindata. // sources: -// static/.list.html.swp // static/list.html // static/s/LICENSE // static/s/README.md @@ -14,7 +13,6 @@ // static/s/fonts/glyphicons-halflings-regular.woff // static/s/fonts/glyphicons-halflings-regular.woff2 // static/s/index.html -// static/s/js/.starz.js.swp // static/s/js/bootstrap-datepicker.min.js // static/s/js/bootstrap.js // static/s/js/bootstrap.min.js @@ -89,26 +87,6 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _staticListHtmlSwp = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xec\x5a\x4d\x8c\x1c\x47\xf5\xff\xed\xae\xbd\xb3\x33\xb3\x33\xfd\x57\xf2\x3f\x72\x28\x77\x94\x40\x9c\xf4\xf4\xae\x21\x24\x38\x33\xa3\x84\x65\x83\x0d\xb6\x13\x7b\x1d\x27\x96\x15\xa0\xa6\xbb\x66\xba\x76\xfb\xcb\xdd\x35\xb3\x1e\x10\xc1\x24\x07\x82\x44\xce\x88\x03\x8a\x44\x80\x43\xc4\xc7\x01\x38\x81\x12\x10\x67\x50\x72\x20\x46\x42\x0a\x47\xa4\x84\x8f\xc0\x01\x25\x28\x42\xa8\xfa\x63\x76\x66\x77\x66\x76\xd7\xb1\xd7\x0a\xd4\xef\xd2\x33\x55\xef\xfd\xea\xbd\x57\xaf\x5e\x55\x7f\xb4\x96\x2e\x9c\x3c\x4d\xee\xaf\x7d\x0c\x00\xfe\x0f\x78\xe9\x73\xaf\x3c\x71\x42\xd3\xf1\xe2\x29\xc0\xf6\xb0\x27\x70\x2f\xa4\x35\x37\xb0\xa8\x3b\x5d\xee\x69\xdb\x33\xe3\xc8\x32\xe3\x9a\x67\x5d\xee\xd2\x7e\xcd\x63\xa6\xed\x99\x96\xc3\x43\xaf\xeb\x6f\x98\xb1\xa0\x82\x5b\xa6\xcb\x63\x51\x73\x84\xb7\x0b\x9b\x82\x82\xc2\x9e\xd1\x15\x6d\xe3\x81\x0a\x3e\x7a\x6c\x79\x49\xfe\xbd\x43\x3f\x42\x6e\xbf\xed\xf1\x5b\x6d\x95\x82\x82\x82\x82\x82\x82\x82\x82\x82\x82\xc2\x01\x42\x84\x73\xf8\x0a\x80\xd9\xec\xff\xd9\xec\x3a\xb3\xed\x7a\x28\xbb\x1e\xce\xae\x6b\xdb\xfa\xe7\xb2\xeb\x6d\xd9\xf5\xc4\xb6\x7e\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x05\x85\x5b\x07\x6a\x03\x6f\xcd\x00\x9f\x9d\x4b\xdf\xff\xe7\xf7\xff\x6f\x6b\xc0\x1f\x35\xe0\x0d\x0d\xb8\xa6\x01\xaf\x6b\xc0\xcf\x35\xe0\xab\x1a\xf0\x80\x06\x68\x1a\xf0\x56\x15\x78\xb3\x0a\xfc\xb6\x0a\xfc\xa6\x0a\xfc\xb0\x0a\xac\x57\x81\xbb\xaa\xc0\x9d\x55\xa0\x52\x05\x66\xaa\xc0\x3f\x2b\xc0\x1f\x2a\xc0\xc5\x0a\xb0\x56\x01\x1e\xa9\x00\xab\x15\xe0\xaf\x8b\xc0\x0b\x8b\xc0\xd7\x17\x81\x47\x17\x81\xdb\x17\x81\xd9\x45\x60\x66\x11\x78\xb7\x0c\xbc\x53\x06\xfe\x5e\x06\xde\x2e\x03\xbf\x2f\x03\xcf\x97\x01\xaf\x0c\x1c\x29\x03\xef\x96\x80\x7e\x09\xf8\x78\x09\x98\x2b\x01\xaf\x16\x81\x6f\x17\x81\x67\x8b\x40\xbd\x08\xdc\x5d\x04\xae\x2d\x00\xcf\x2c\x00\x17\x16\x80\xc6\x02\x30\xb3\x00\xfc\xa9\x00\xbc\x56\x00\x5e\x2e\x00\xdf\x2c\x00\xcf\x15\x80\x8d\x02\xf0\x85\x02\xf0\xf9\x02\xb0\x5a\x00\xee\x2e\x00\x1f\x29\x00\xd5\x02\xf0\xc6\x3c\xf0\x93\x79\x60\x73\x1e\x28\xcd\x03\xff\x38\x0c\xfc\xf4\x30\xb0\x72\x18\xb8\xe7\x30\xf0\xb7\x43\xc0\x33\x87\x80\xf5\x43\xc0\xbf\xe6\x80\x1f\xcc\x01\xf6\x5c\x1a\xcf\x47\xe6\x80\xa3\x73\xc0\x9b\xb3\xc0\x4b\xb3\xc0\xd9\x59\xe0\x9d\x19\xe0\x85\x19\xe0\xd9\x19\xe0\x95\x59\xe0\xe5\x59\x90\x31\xa8\x9b\x71\x48\xfd\xe6\xd8\xbe\xb4\xbf\xd5\x15\x22\xf0\x9b\x93\x04\x76\xc1\x44\xe2\x84\x5c\x8e\x4d\x2c\x97\xc6\x71\x43\xef\xb8\xfd\xd0\xe1\x56\xe0\x93\xc1\x2f\x23\x66\xbe\xad\x37\x33\x1b\xc9\x5d\x7e\x2b\x0e\x1f\x24\x6b\xdd\x96\xc7\xc5\x64\x8b\x53\x83\x09\xb7\x1b\x7a\xa2\x9f\x0f\xd0\x12\x3e\x69\x09\xdf\xb0\x59\x9b\x76\x5d\xa1\x13\xd1\x0f\x59\x43\x4f\xc5\xf5\xe6\x54\x8b\x53\x4b\x25\xa5\x4f\x3d\x66\x38\x81\x6b\xb3\x68\xc0\xcc\xfd\xb0\x2b\x8c\x4e\x14\x74\xc3\x7d\x86\xa7\x6e\xda\xbc\xd7\xdc\x25\x4a\xbb\xc9\xe4\xf1\x99\x62\x79\x66\x28\xb5\x6d\x43\xfa\x5a\xe7\x03\xd3\x65\x98\x85\x23\x83\xcc\x9b\xd3\x92\xa1\x9e\x38\x49\xb2\xa0\x09\x76\x45\xe8\x24\x62\xd4\x0e\x7c\xb7\xdf\xd0\xf3\x5f\x3a\x91\xf1\x69\xe8\x36\x15\x4c\x27\x49\x4c\x77\xb0\x8d\x58\x94\x86\x8e\x86\x21\xf3\x6d\x92\x6a\xc9\x28\xcb\x5f\x21\xb7\x36\x64\x90\x6d\x2a\xa8\x21\x1b\x1a\xfa\xd2\x31\xe3\xd8\xd2\xf2\xb1\xa1\x36\xa3\x1d\x44\x1e\x15\x0d\xdd\xf3\x8c\x7e\xbf\xdf\xd7\x77\x5a\xbf\x07\xaf\x86\x9d\xca\x0c\x93\xbc\x86\x15\xf8\x22\x0a\x5c\x92\x5a\x19\x7b\xa9\x71\xdc\x6f\x07\x3a\x09\x5d\x6a\xb1\x34\x11\xf2\x26\xda\x15\x41\x3b\xb0\xba\xf1\x18\x23\x06\x09\x24\x45\xa7\x24\xd0\x41\x38\xd0\x63\xbe\x1d\x44\xdb\x5c\xc8\x1b\xf7\xe4\x44\x2a\x7c\x8b\xdd\xb0\x82\x58\x6c\x73\x22\x6d\xda\x93\x0b\x52\x74\x9f\x0e\x38\xcb\xcd\x55\x5f\xb0\x88\x88\x88\xfa\x31\xb5\x04\x0f\xfc\xba\xe9\x2c\x8f\x8a\xd6\x6d\xde\xcb\x09\xad\xc0\x35\xdc\x8e\xb1\x7c\x8c\x48\xa7\x0c\x8b\x49\xf5\x21\xea\x61\xd9\x28\xd8\xd4\x9b\xc0\x4e\x0a\x5f\x50\xee\x0f\xd4\xea\x47\x0c\x83\x3c\x46\x3b\x8c\xac\x04\xbe\x60\xbe\x20\x86\x91\xab\x99\x3e\xed\x0d\x91\x4b\x49\xb3\x36\x20\x48\x04\xb7\x66\x43\x56\x95\x51\xc3\x53\x79\x9f\xf6\x5a\x34\x32\xac\xc0\x75\x69\x18\xb3\x11\xad\x09\x9a\x69\x73\xd7\x9d\x30\xb9\xa6\xcb\xa7\xec\x30\x94\x38\x11\x6b\x37\x74\x93\x86\xdc\xec\x2d\x99\x6e\xd0\x09\xba\x42\x6f\x9e\x4a\xae\x75\x93\x4e\x60\x1d\x47\x5a\xef\xba\x79\xdc\x7c\xda\x23\x99\x2b\x3e\xed\xe9\x53\xe7\x28\x75\x74\x9b\xe3\x69\x92\xb5\x62\x83\x5d\xa1\x5e\xe8\x32\x63\x5b\xbf\xb1\xbc\x9d\x54\xc6\x6f\x25\x70\x5d\x66\x09\x22\x9c\x84\x90\xb8\xdc\xdf\x88\xef\x25\x32\x8d\xe3\x7b\x09\xf5\x6d\x12\x08\x87\x45\xc4\xca\x26\xaf\x1d\x44\x44\x04\x9d\x8e\xcb\xfd\xce\x9e\x43\x4d\x87\x9c\x94\x26\xb5\x22\x2a\x37\xba\x2c\x8e\xd9\xe7\x8d\xb1\xa9\x37\xf3\x4f\x1e\xc7\x46\x71\xb0\xb7\xef\xbe\x71\x24\xdb\x44\x8b\x46\xfa\xf4\x3d\xe2\xe0\x55\xe2\xc8\x48\xf6\x9d\xe6\x79\x19\xc3\x24\xe4\xbc\x43\xd3\x85\x39\x9e\x22\x3f\x1f\x8c\xec\xfe\xdb\xe2\x99\x4c\x08\xcb\xb6\x99\xf4\xcf\x56\x9e\xe4\xcd\x34\xea\x30\xd1\xd0\xef\xd8\x4f\x86\x0c\xa5\x5d\x26\xeb\x30\x6a\x8f\x94\x04\x92\x67\xd2\x27\xe5\xa4\x26\x19\x93\x5a\x40\x3a\x4c\x90\xa4\x36\x31\x3b\x49\x9b\x16\x13\xb2\x18\x79\x41\x8b\xbb\x8c\xd8\x3c\x0e\x5d\xda\x1f\x5d\xe4\xd3\xea\x88\xcc\xce\x11\x5b\xf2\x05\xc0\xfd\x1e\x8b\xb6\xd6\x43\x9b\x5f\x61\xb6\x21\x82\x50\x27\x51\x20\x03\xb1\x15\xe3\xe1\x92\x74\x66\xd0\x9a\x16\xa4\x7a\x2b\xb0\xfb\xf2\x6a\x4a\x17\xf3\x0a\x75\xe4\x12\xf3\x6d\xde\x7e\x6a\xc4\xca\xd8\x8a\x78\x28\x48\x1c\x59\xc3\xd9\xbb\x1e\x9b\x11\x8b\xc3\xc0\xb7\x6b\x1e\xf7\x6b\xeb\x71\x92\x16\x89\xe8\x5e\x74\x1d\xe1\xb9\xf7\xc5\x0e\xef\x8d\xd1\x94\x06\x5f\xe2\x6d\xe2\x0a\x72\x72\x95\x7c\xe2\xa9\x21\x37\x9e\x78\xf8\xdc\x99\x93\x67\x3e\x7d\x9c\x9c\xcb\xc6\x5e\x8f\x89\x1d\xb0\xd8\xff\xb0\x20\x9b\x41\xb4\x41\x78\x9b\xf4\x83\x2e\xe9\x71\xb6\x99\x2c\xf2\x50\x96\xe2\x1e\xa7\xa4\xcd\x5d\x76\xdc\x34\x07\x13\x90\xd0\x9d\x38\x7f\xfa\xd4\x7d\x64\xcd\xe1\x5e\x32\x93\x43\xa4\x27\x57\x1f\x20\x71\x37\x0c\x83\x48\x90\xa0\x9d\x09\x32\x97\x79\xcc\x17\x71\x22\xec\x31\x9b\x53\x72\xb9\xcb\x22\xce\xe2\xe1\x2a\x1f\x8b\xbe\xcb\xd2\x41\xbe\x3c\x88\x84\x79\x94\x9c\x63\x97\xbb\x3c\x62\x36\x09\xa9\x6d\xcb\x7a\x22\xb3\xa4\xb6\x7d\x1a\x6b\xe4\x1c\xf3\x82\x1e\x93\x9e\x74\x63\x29\x96\x8b\xa4\xe1\x4b\x65\x56\x1c\xea\x77\x12\x19\x87\xf1\x8e\x93\xd8\xb8\x35\xf1\xc4\x4a\xba\xe3\x1a\x39\x6a\x0e\x2c\xc8\x46\x95\xfa\xc7\xc9\xfd\x4b\xe1\x95\x07\x93\x2e\x99\x07\xe4\x4b\xa9\xe9\x43\x96\xa7\xd5\xb2\x1b\x8b\xc0\x23\x2b\x6b\x6b\x43\xfe\xc9\x92\xb9\xa3\x96\x59\x71\x6c\x6e\x9d\x0a\x93\x8c\xb0\xe2\x58\x9e\x41\xdd\x86\x9e\xd0\xc6\x0e\x63\x22\xcf\xc8\x89\x1c\xad\x20\x10\xb1\x88\x68\xb8\x2b\x45\xb2\x06\x73\x69\xb2\x12\x44\x6c\x9b\x9d\x82\x0b\x97\x0d\x95\xd8\xf4\x7f\xd6\xe9\x31\x41\xb3\xc3\x30\xed\x0a\x47\x9e\xac\xb2\x92\xdf\xd0\xf3\x11\x86\x64\x6c\x96\xe6\x27\x4f\x8a\xd1\x14\x41\x99\x77\x32\x67\x86\xa4\x36\xb9\x2d\x9c\x86\xcd\x7a\xdc\x62\x46\xf2\xe7\x5e\xc2\x7d\x2e\x38\x75\x8d\xd8\xa2\x2e\x6b\x2c\x8f\x10\x39\x42\x84\x86\x4c\x95\x5e\x43\x7f\xd2\x78\xfc\x61\x63\x25\xf0\x42\x2a\x78\x4b\x96\xbc\x01\xeb\xc9\xd5\x06\xb3\x3b\x6c\x44\xd3\x72\x68\x14\xcb\xa2\x97\x7c\xe4\x2b\x4f\x2b\xf5\x6c\x71\xd7\xe5\x72\x23\x2e\xf5\x3b\x0d\x9d\xc9\xba\x50\x3f\xf2\xa9\x47\x57\xce\x5f\x7c\x6c\x95\xc8\x9e\x66\x72\xff\xff\xef\x0a\xd0\xaa\xa6\xf7\xff\xf9\xfb\xfb\xbf\x68\xc0\x9f\x35\xe0\x35\x0d\x78\x55\x03\x7e\xa5\x01\xdf\xd5\x80\x17\x35\xe0\xaa\x06\x9c\xd6\x80\x53\x1a\x70\x67\xf6\x1c\xe0\xfb\x55\x40\x54\x81\xb8\x0a\x6c\x64\xcf\x01\x24\xa7\x59\x05\xde\xab\x00\xbf\xae\x00\xdf\xa9\x00\x5f\xab\x00\x61\x05\x78\xb2\x02\xcc\x55\x80\x1f\x2d\x02\x17\x17\x81\xe2\x62\x7a\x8f\x7f\xad\x0c\x7c\xa3\x0c\x3c\x54\x06\x8e\x96\x81\xbb\xca\xc0\xeb\x25\xe0\xb9\x12\x70\xbe\x04\xdc\x53\x02\x8e\x96\x80\xff\x2f\x01\xb7\x97\x80\xf7\x8a\xc0\xf3\x45\xe0\x62\x11\x58\x2a\x02\x66\x11\xf8\x50\x11\xf8\xf1\x02\x70\x75\x01\xb8\xb4\x00\x3c\x54\x00\x7e\x37\x0f\x7c\x6f\x1e\xb8\x3a\x7f\x0b\x1f\xb6\x28\x28\x28\x28\x28\x24\xa8\x9b\x8e\xa8\x9b\xe9\x3e\x84\xba\x99\x1d\x4c\xc7\x1c\x1f\xf7\x24\x34\x74\xc6\xdc\xaf\x7c\x2c\x68\xf4\xc5\x71\xe7\xd1\x89\x1a\x83\xe3\xca\x98\xa1\x86\xdd\xda\xeb\x75\x9c\xa5\xc3\x7d\xbb\x79\x34\xd2\xbf\x43\x78\xac\xf6\x74\x95\x1d\x12\x37\xa8\xf1\x7d\x4e\xed\x01\xce\xac\x61\x8f\x9b\xdb\x3d\x1b\x70\x3d\x96\x1e\xa8\x77\x74\xd2\xda\x9b\xe4\xe3\x07\xc5\xf5\xba\xe9\xdc\xe8\x40\x4e\xa9\x54\x37\x70\xa4\x1b\x19\x83\x7d\x73\xdd\x8c\x90\xdd\xf0\x5c\xfe\xe0\x93\xee\x7f\x6d\xed\x6a\xde\x75\xdb\x7f\x1d\x8a\x07\xa3\xf2\x7e\x8a\xda\xf0\x93\x88\xeb\x22\x99\xa4\x39\xe6\xb9\xc3\x67\x68\x8f\xae\xa5\x84\x5b\x8f\x1f\x26\x8e\xb0\x7e\xb9\xcb\xa2\xfe\x24\xea\xf5\xb3\xb2\x97\x5c\x60\x51\xcc\x03\x9f\x2c\xd7\x96\x97\x6b\xcb\x5b\xb4\x64\x8f\x2f\x0e\xc6\xbd\x39\x88\x82\xcd\x51\xa2\x21\x79\x79\xff\xcf\xab\xc0\xb7\xb2\xfb\xff\xfc\xfb\xfe\x5f\x6a\x40\x47\x03\xaa\x1a\xf0\xb3\xac\xff\xe9\xec\xdd\xfe\x2f\x2a\xb7\xf8\xe0\xa8\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xf0\x3f\x06\x32\x06\x37\xfb\xc3\xe1\x9b\x3f\x52\xfe\xd9\xec\x01\x0e\x99\x63\xfa\xf7\xbe\xff\x7d\x5f\x45\xeb\x4d\xfc\x27\x00\x00\xff\xff\xe1\xc2\xe8\xb4\x00\x50\x00\x00") - -func staticListHtmlSwpBytes() ([]byte, error) { - return bindataRead( - _staticListHtmlSwp, - "static/.list.html.swp", - ) -} - -func staticListHtmlSwp() (*asset, error) { - bytes, err := staticListHtmlSwpBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "static/.list.html.swp", size: 20480, mode: os.FileMode(420), modTime: time.Unix(1472159426, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - var _staticListHtml = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xc4\x57\x6d\x6f\xdc\x36\x12\xfe\xee\x5f\x31\xe1\x01\x77\x40\x10\xae\xbc\x06\x82\xcb\x25\xd2\x02\xb9\xad\xd1\xba\x48\xd3\xd4\x4e\xdf\x10\xe4\x03\x25\xce\x4a\xb4\x29\x52\x21\x47\xb2\xb7\x45\xff\x7b\x41\xbd\xec\x6a\xd7\xda\x75\xdc\x02\xa9\x01\x63\x25\x72\xde\x9e\x99\xe1\x33\x54\xfc\xe4\xab\xef\x97\xef\x7f\x7d\x77\x0e\x05\x95\x7a\x71\x12\x87\x1f\xd0\xc2\xe4\x09\x43\xc3\x16\x27\x27\x71\x81\x42\x2e\x4e\x4e\x00\x00\xe2\x12\x49\x40\x56\x08\xe7\x91\x12\x56\xd3\x8a\xbf\x60\x8b\xd1\x56\x41\x54\x71\xfc\x54\xab\x26\x61\xbf\xf0\x1f\x5f\xf3\xa5\x2d\x2b\x41\x2a\xd5\xc8\x20\xb3\x86\xd0\x50\xc2\x2e\xce\x13\x94\x39\xee\x68\x1a\x51\x62\xc2\x1a\x85\xb7\x95\x75\x34\x12\xbe\x55\x92\x8a\x44\x62\xa3\x32\xe4\xed\xcb\x33\x50\x46\x91\x12\x9a\xfb\x4c\x68\x4c\xe6\x13\x86\x24\xfa\xcc\xa9\x8a\x94\x35\x23\x5b\x13\x82\xa2\xa6\xc2\xba\x5d\x99\x4e\x88\x14\x69\x5c\x64\x85\xaa\xca\xda\xdc\xc4\x51\xf7\xde\x6f\x3e\xe1\x1c\xfe\x6f\x2d\x79\x72\xa2\x82\xa5\x75\x08\xcb\xab\x2b\xe0\xbc\xf7\xa0\x95\xb9\x81\xc2\xe1\x2a\x61\x91\x27\x41\x2a\x8b\x7c\x94\x79\x1f\xa5\x83\xd2\xac\x54\x66\x96\x79\xcf\xc0\xa1\x4e\x98\xa7\xb5\x46\x5f\x20\x12\x7b\xc8\x84\x14\x84\x95\xca\x6e\xd0\x1d\xb3\xb1\x8d\x73\x59\x7b\xb2\xe5\x6e\x7c\xad\x68\xf7\x9c\x5a\xb9\x86\xdf\xdb\xc7\xf0\x57\x09\x29\x95\xc9\x39\xd9\xea\x25\xfc\xf7\xb4\xba\x7b\xb5\xd9\x8a\x9e\xc2\x65\x28\xae\x43\x39\x88\xc1\xca\x3a\x98\x19\xd1\xa4\xc2\xf1\x95\xba\x43\x19\x14\x67\x70\x89\xa5\x6d\x10\xd4\x0a\x6a\x1f\xc4\x06\x91\x0e\x48\x27\xb3\x2c\x84\xc9\x5b\x99\x02\x55\x5e\x10\xd8\x15\x18\xd1\xa8\x5c\x84\xb2\x85\x36\x33\x39\xfa\x19\x3c\x8d\xda\x08\xfe\xe8\x22\x8f\xfa\xd0\xb7\xf8\xbe\x79\xff\xdd\x9b\xe7\x70\x55\xa8\x12\x84\x91\x70\x89\xbe\xb2\x46\xce\xae\x3d\x5c\x9c\xbf\x00\x5f\x57\xa1\xa3\x82\xf1\x4e\x10\x35\x96\x68\xc8\xb7\xc2\x25\x4a\x25\xe0\x53\x8d\x4e\xa1\xdf\xa6\x27\x98\xfd\xf9\xf5\xe5\xdb\x8b\xb7\x5f\xbf\x1c\x1b\x94\x16\xbd\xf9\x0f\xc1\xad\x75\x37\x21\xf0\xb5\xad\x21\xf4\x2c\x50\x81\x50\x89\x1c\xa1\x51\x02\x56\x4a\xe3\xcb\x28\xda\x31\xf7\x41\xad\x40\x13\x5c\x9c\xc3\xff\x3e\x2e\x36\x19\x8d\xbb\x2e\x05\xef\xb2\x71\x95\xaf\x7d\x14\xce\xe1\x73\x5f\xa8\x66\x76\xed\xd9\x22\x8e\x3a\xc1\xcf\xd1\x74\x7d\xb8\xa1\x37\xee\xeb\xc6\x4f\x3e\xa0\x91\x6a\xf5\x31\x04\x77\x12\x47\xfd\xe9\x8e\x43\x17\x8c\x93\xfa\x76\x5b\x88\x0d\x0c\x23\x1a\xc8\xb4\xf0\x3e\x61\x5d\x39\xa1\xaf\xaa\x32\x0d\x3a\x8f\xb0\xdf\x07\x0c\x9c\xd5\xd8\x4a\xf7\xc6\xd8\x08\x81\x54\x1b\x73\xe1\xf4\x09\x65\xd0\x8d\xf6\xb7\xe7\xcc\x85\x4a\x85\x7f\xb2\x79\xae\x11\x72\x24\xc8\x9d\xad\x2b\x94\x6d\xff\xa5\x48\x84\x0e\x4a\x9b\x2a\x8d\x20\x95\xaf\xb4\x58\x6f\xc2\x9e\xf2\xd7\x07\x1a\xc0\xdf\xf3\xd9\xca\xa6\x35\x91\x35\x40\xeb\x0a\x13\xd6\xbd\xb0\x3d\xe5\x2e\x18\x06\x52\x90\xe8\x5f\x02\x10\xad\x45\xe5\x37\xcb\xc2\xe5\x81\x29\xff\x95\x7a\x8e\x77\xa2\xac\x34\xf2\x5e\x7d\x90\xe4\xf3\x09\xff\x5d\x85\x2b\x61\x06\x9f\xde\x71\x6b\xf4\x9a\x2d\xde\x77\x29\xd8\x66\x34\x8e\x82\xdc\x67\x98\x50\x99\x35\x3c\x15\xae\xed\x88\x7f\x50\x25\x8e\xba\x7c\x4e\xec\x88\xbd\x14\xa7\xa1\xf2\xec\x1e\x09\xb2\x11\x2b\x8b\xbd\x22\x47\x52\x35\x13\x3d\xb4\xb4\x5a\x63\x46\xed\x39\x0d\x6d\x1c\xc8\xd5\x3f\x0b\xdd\x53\xfa\x67\x6d\x6f\x59\x2a\xd0\x0d\x63\xa0\x6d\xab\xb6\xa6\x81\xbc\x8e\x75\xd2\x50\x46\xd8\x2b\x2b\x03\x25\x13\xf6\xc8\xb2\xc7\xb5\x1e\x65\x60\x30\x69\x44\x73\xa8\x45\xb4\x9a\xde\xe8\xb3\xd9\x27\x4e\x54\x2a\x6a\x4e\x23\x6d\x73\x5b\x13\x5b\xbc\x69\x7f\xef\xa5\x6e\x9b\xc2\x29\xab\x71\x54\xeb\xcf\x4b\x75\x34\xdb\x83\xba\x93\xbf\x3d\xad\x5e\x63\x73\xfe\xb7\x64\x13\x19\xd1\x8c\x09\xe9\x5d\x60\xd7\x65\x5f\x9e\x8d\xd4\x01\x0e\x99\x24\x19\x67\x6f\xf7\xe9\x65\xb7\x90\x5c\xe7\x7c\x7e\x06\x84\x77\xc4\x33\x34\x34\x4d\x0d\xc5\x7c\x71\x1e\xf6\x80\x9c\x30\x5e\x64\xdd\x21\x2c\xe6\x13\xa2\xed\xc1\x08\x7d\x90\x59\x4f\xbc\xb0\x3a\xb0\xcd\xe6\xa4\x98\xaa\x26\xde\xf2\xd8\xa1\xf2\xb6\x22\x3d\x09\x85\xa8\x36\xba\xa1\x6f\x79\x00\xec\xac\x86\xce\x90\x2f\xd9\xc6\x15\x83\x4a\x8b\x0c\x3b\x87\xc3\x92\xa8\xc9\xae\x6c\x56\xfb\xa9\xe2\x1e\x38\xaa\x1b\x00\x0d\x1a\x69\xdd\x17\x82\xd0\x39\xdb\x03\x31\x2c\xfe\x2d\x18\xca\xac\xec\x17\x02\x11\x5c\xed\x41\xe8\x96\xfe\x32\x80\x9d\x78\x45\x55\xa1\x91\x61\xca\xf4\x54\xb3\xbd\x15\xf6\xb3\x27\x2c\x24\xec\xf4\x8c\x9f\x9d\xce\xcf\x46\x6b\x3c\x04\x2d\x28\x61\x65\xc9\xd7\xeb\xf5\xfa\x38\xe8\x1d\xd4\x0e\x85\x0c\x63\x28\x61\xc3\x13\x1b\xee\xdb\x6d\x1c\x8b\xa0\xf8\xf0\x8c\x10\x52\xf2\x70\x15\x88\xd5\xce\xd4\xa0\x22\x0c\x0d\x75\x64\x70\xb4\xeb\xc7\x1c\x84\x44\x84\x80\x1e\x5f\x63\x18\x4d\xfd\x60\xc5\x63\x98\x3c\xbd\x7a\x4a\x06\x52\x32\x5c\xe2\x4a\xd4\x9a\xd8\xee\xbd\x60\x31\xe8\x1f\x34\x7c\x2f\x03\xb9\x5e\x57\x45\x00\x0d\x9b\x27\xde\x7a\x1c\xc0\xc3\xbf\x4d\xea\xab\x57\x70\x55\xa7\xa5\xa2\xc3\x11\x0f\xb3\xf4\x98\xe7\x23\x7f\x07\x06\xc0\xfd\xfc\xf7\xb4\x3d\xc5\xf6\xce\xde\xb6\x7c\xfc\x28\x8a\xdf\xf2\xfa\xf5\x0f\x35\xba\x35\xfc\x84\xce\x87\xcb\xe6\x7c\x36\x9f\xcf\xe6\xa3\x0f\x95\x43\xd7\xdc\xeb\x70\x69\x5f\xef\xdd\x70\x0f\x7e\x9c\x7d\x2b\x1a\x71\xd5\x99\x7a\xd8\xf4\xee\x37\xda\xc4\x1d\xfa\x61\x4d\xbe\xf7\x91\xf6\x18\x23\x9e\x84\xfb\x6d\x1f\x58\x1c\xf5\x37\xf4\x38\xea\xbe\xd4\xff\x0c\x00\x00\xff\xff\xfc\x81\x82\x19\xba\x0f\x00\x00") func staticListHtmlBytes() ([]byte, error) { @@ -124,7 +102,7 @@ func staticListHtml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/list.html", size: 4026, mode: os.FileMode(436), modTime: time.Unix(1472159426, 0)} + info := bindataFileInfo{name: "static/list.html", size: 4026, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -144,7 +122,7 @@ func staticSLicense() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/LICENSE", size: 11336, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/LICENSE", size: 11336, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -164,7 +142,7 @@ func staticSReadmeMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/README.md", size: 1498, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/README.md", size: 1498, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -184,7 +162,7 @@ func staticSCssBootstrapCombinedMinCss() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/css/bootstrap-combined.min.css", size: 126461, mode: os.FileMode(436), modTime: time.Unix(1472157681, 0)} + info := bindataFileInfo{name: "static/s/css/bootstrap-combined.min.css", size: 126461, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -204,7 +182,7 @@ func staticSCssBootstrapCss() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/css/bootstrap.css", size: 146082, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/css/bootstrap.css", size: 146082, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -224,7 +202,7 @@ func staticSCssBootstrapMinCss() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/css/bootstrap.min.css", size: 121260, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/css/bootstrap.min.css", size: 121260, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -244,7 +222,7 @@ func staticSCssDatepickerMinCss() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/css/datepicker.min.css", size: 16303, mode: os.FileMode(436), modTime: time.Unix(1472157195, 0)} + info := bindataFileInfo{name: "static/s/css/datepicker.min.css", size: 16303, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -264,7 +242,7 @@ func staticSFontsGlyphiconsHalflingsRegularEot() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/fonts/glyphicons-halflings-regular.eot", size: 20127, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/fonts/glyphicons-halflings-regular.eot", size: 20127, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -284,7 +262,7 @@ func staticSFontsGlyphiconsHalflingsRegularSvg() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/fonts/glyphicons-halflings-regular.svg", size: 108738, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/fonts/glyphicons-halflings-regular.svg", size: 108738, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -304,7 +282,7 @@ func staticSFontsGlyphiconsHalflingsRegularTtf() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/fonts/glyphicons-halflings-regular.ttf", size: 45404, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/fonts/glyphicons-halflings-regular.ttf", size: 45404, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -324,7 +302,7 @@ func staticSFontsGlyphiconsHalflingsRegularWoff() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/fonts/glyphicons-halflings-regular.woff", size: 23424, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/fonts/glyphicons-halflings-regular.woff", size: 23424, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -344,7 +322,7 @@ func staticSFontsGlyphiconsHalflingsRegularWoff2() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/fonts/glyphicons-halflings-regular.woff2", size: 18028, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/fonts/glyphicons-halflings-regular.woff2", size: 18028, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -364,27 +342,7 @@ func staticSIndexHtml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/index.html", size: 2766, mode: os.FileMode(436), modTime: time.Unix(1472145201, 0)} - a := &asset{bytes: bytes, info: info} - return a, nil -} - -var _staticSJsStarzJsSwp = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xec\x99\x4f\x88\x1c\xc5\x17\xc7\xbf\xf9\x1d\x7e\xf3\xbf\x27\xea\x35\x92\xb2\xb2\xb8\xdd\x24\xdb\xbd\xf9\x83\x82\xee\x04\x62\x88\x12\x24\x21\x28\x49\xc0\x3f\x48\xa5\xab\x66\xa7\xb2\xfd\x67\xec\xaa\x99\xcd\x24\x8c\xde\x04\xc5\x20\xc1\x83\x57\xef\x42\x3c\x08\xc1\x83\xe0\x55\xc4\xe0\xc5\x8b\x27\x4f\x7a\xf2\x22\x1e\x55\x90\xea\xe9\xce\xce\xce\xce\x26\xb3\x0a\x86\x40\x7d\x0e\x3b\xd5\x55\xaf\xdf\xab\xf7\x7d\xaf\x6a\x58\xe6\xca\xea\xa5\xb3\xe7\xc8\xb3\xfe\x09\x00\xd8\x0f\xbc\x71\xf9\xeb\xcb\x5f\xb6\x28\xf6\x1f\x00\x78\x8c\x85\x90\x71\x9f\xf9\x51\x1a\xb2\xe8\xfe\x76\xef\xf0\x38\x50\x59\x18\x28\x3f\x0e\xdf\x1e\xb0\x91\x1f\x8b\x80\xc7\x41\xd8\x93\xfd\x78\x90\x6c\x04\x4a\x33\x2d\xc3\x40\x05\x57\x95\x19\x67\xd7\xfd\xab\x6a\xb1\x1d\x58\x2c\x96\x07\xd3\xc2\xf1\x63\x47\x57\xcd\xe8\x10\x7d\x8a\x3c\xf1\xf8\xc5\x87\xbd\x21\x8b\xc5\x62\xb1\x58\x2c\x16\x8b\xc5\xf2\x1f\xa2\xfb\xfb\xf0\x2e\x80\xff\x15\xcf\xa7\x8a\xcf\x7d\x33\x9f\x16\x8b\xc5\x62\xb1\x58\x2c\x16\x8b\xc5\x62\xb1\x58\x1e\x5d\x18\x07\x3e\xfa\x3f\xf0\x79\x65\xf2\xfb\x7f\xf9\xff\xff\x6f\x6d\xe0\xc7\x36\x70\xa7\x0d\x7c\xdc\x06\x4e\xb5\x81\xd5\x36\xf0\x83\x03\x7c\xeb\x00\x9f\x39\xc0\x27\x0e\x70\xd3\x01\xde\x73\x80\xd0\x01\x5e\x75\x80\x97\x1d\xe0\x25\x07\x78\xd1\x01\x4e\x38\xc0\x01\x07\xf8\xa3\x05\xfc\xdc\x02\x6e\xb6\x80\x57\x5a\xc0\x99\x16\xf0\x4c\x0b\x78\xac\x05\xfc\xda\x04\xbe\x6b\x02\xb7\x9a\x80\x68\x02\x7e\x13\x20\x4d\xe0\xcf\x06\xf0\x4d\x03\x78\xbf\x01\xa8\x06\x70\xbe\x01\xd4\x1b\xc0\x4f\x75\xe0\x6e\x1d\xb8\x53\x07\x3e\xac\x03\x61\x1d\x38\x58\x07\xbe\xaf\x01\x9f\xd6\x80\x0f\x6a\xc0\xb5\x1a\xf0\x5a\x0d\x38\x58\x03\x7e\xaf\x02\x5f\x55\x81\xdb\x55\xe0\x56\x15\xb8\x58\x05\x8e\x55\x81\xa7\xab\x00\xa9\x02\x4f\x56\x81\x03\x55\xe0\xaf\x0a\xf0\x4b\x05\xb8\x5b\x01\xbe\xa8\x4c\xf4\xb8\x5d\x79\xc8\xc5\xb1\x58\x2c\x16\x8b\x65\xc2\xd8\x7b\x1e\x84\x10\x12\xcb\xe4\x92\x14\x9b\xe7\x52\x2e\x9e\x23\x34\x4e\x13\xdd\x53\x34\x5f\x19\xee\x98\x3e\x42\xf2\x85\x6e\x9a\xc5\x4c\x9b\xe9\x78\x65\x34\x1a\x8d\xe8\x11\x2c\xb9\xf4\x10\x67\x5a\xf4\x65\xb8\x21\x32\xea\xf9\x5b\x0f\x2e\xb9\x01\x8c\x27\xc1\xc6\xf9\xdf\x7c\x54\x84\x2f\x59\x72\x97\x35\xbb\x12\x89\x65\xcf\x67\xfd\xbe\x48\xb8\xab\xb3\x19\x13\x9d\x95\x4b\x74\x4d\xf3\x93\x94\x1c\x26\x74\xa0\x44\x46\x92\x54\x93\x6e\x3a\x48\x78\x3e\xb5\x16\x98\xc5\x1d\xef\x92\x8e\x89\xb1\xa6\xb3\xe0\xe4\xf2\xcc\xe2\x78\xdb\x93\xe1\x02\xcb\x44\xa2\xfd\x4c\xc4\xe9\x50\x9c\xee\xc9\x88\xbb\xc5\x54\x57\x66\x4a\xe7\x33\x33\x4e\x36\x7b\x32\x12\xa5\x55\x8f\xa9\xdc\xe6\x7c\xca\x85\x72\x3d\x8f\xdc\xd8\x66\x3b\x64\x59\x11\x82\x74\x08\x4f\xc3\x41\x6c\x5e\x5a\x17\xfa\x4c\x24\xcc\xf0\x85\xd1\x59\xee\xd2\x5c\x8f\xe9\x44\xc6\x9e\xdf\x65\x32\x72\xbb\x83\x24\xd4\x32\x4d\x5c\x31\xeb\x78\x7e\x36\xbb\xcf\x2e\xa8\xfc\x03\xaa\xc0\x99\x66\xaf\xcb\x37\x7d\xa5\x59\xb6\xce\xae\x8b\x4c\xbd\x15\xa6\x83\x44\xef\x5a\x8d\x05\xfd\x25\x2c\x16\x0b\xfa\xb8\x4f\x75\x4b\xba\x69\x46\x5c\xa3\xbc\x24\x32\xc9\x63\xcc\x53\x4f\x44\x4a\x2c\x2c\xea\x1e\xa4\xfb\x37\xcd\xbb\xa7\x34\x77\x2f\xf4\x3f\x68\xea\x92\xbd\x34\xb7\x41\x76\x89\x6b\x14\x26\x9d\x0e\x49\x06\x51\x34\x6b\xf3\xa8\x9c\x38\x92\x17\x99\x1e\x32\x9d\x48\x3d\x7f\xc8\x22\x97\xee\xa8\x8e\xe7\xf3\x34\x11\x5b\xa7\x72\xb7\xd6\xa2\x01\xeb\xcb\x60\xb8\x1a\x44\x52\xe9\x80\x1e\x36\x4e\xef\x19\x2d\x99\xcd\xb8\x93\x4b\x72\xb6\x09\xcd\x0e\x58\x24\x32\x4d\x3d\x5f\xf5\xd2\x4d\xd7\xf3\xb5\xb8\xa6\x5d\x7a\x21\x12\x4c\x09\xd2\xcf\xd2\xa1\xe4\x82\x30\x62\x5c\xfa\xd3\x1b\x2c\x37\xbf\xd2\x4b\x23\x9e\x5f\xcc\x85\xc2\x11\x53\xca\xa5\x3d\xa6\x56\x36\x59\x96\xc8\x64\x9d\x98\x31\x17\x5d\x36\x88\x4c\x1c\xc6\xf9\x94\x8d\xc8\xb2\x34\x2b\xfd\x9a\xe2\xe6\x47\xb3\xd3\x21\x94\x96\x99\x1a\x85\x27\xb3\xb3\x8a\x15\xaf\x4d\x67\xd1\x93\x5c\x98\xf9\x52\x33\xa2\xcc\xc9\xf0\xf2\x6f\x8a\xc2\x7c\xfa\x0b\x62\xb2\xba\xe5\xc6\x3c\x53\xcf\x0f\x23\x19\x6e\xcc\xb9\x0d\xc7\x1e\xe6\x37\xda\xb4\x9f\x32\x13\xe1\x6f\x88\xd1\xe9\x94\xe7\xe9\x1c\x3d\x3e\x5d\xb8\xf1\xdc\x3e\x58\x50\xca\x42\xb2\x19\x21\xef\x09\x3c\x75\xab\xcf\xbb\x73\x16\x08\xa6\x06\x61\x28\x94\xda\x11\xa2\xd8\x04\x9d\xc9\x73\xc9\xd5\x3d\xa9\x8a\x8a\x6c\x2f\xdd\x54\xbd\x36\xc4\x68\xd0\x9f\x23\xe9\xbc\x43\xb0\xb4\x65\x67\xcc\xfe\x0e\x00\x00\xff\xff\x38\xe5\x33\xb2\x00\x30\x00\x00") - -func staticSJsStarzJsSwpBytes() ([]byte, error) { - return bindataRead( - _staticSJsStarzJsSwp, - "static/s/js/.starz.js.swp", - ) -} - -func staticSJsStarzJsSwp() (*asset, error) { - bytes, err := staticSJsStarzJsSwpBytes() - if err != nil { - return nil, err - } - - info := bindataFileInfo{name: "static/s/js/.starz.js.swp", size: 12288, mode: os.FileMode(420), modTime: time.Unix(1472159057, 0)} + info := bindataFileInfo{name: "static/s/index.html", size: 2766, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -404,7 +362,7 @@ func staticSJsBootstrapDatepickerMinJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/js/bootstrap-datepicker.min.js", size: 26799, mode: os.FileMode(436), modTime: time.Unix(1472157182, 0)} + info := bindataFileInfo{name: "static/s/js/bootstrap-datepicker.min.js", size: 26799, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -424,7 +382,7 @@ func staticSJsBootstrapJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/js/bootstrap.js", size: 68954, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/js/bootstrap.js", size: 68954, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -444,7 +402,7 @@ func staticSJsBootstrapMinJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/js/bootstrap.min.js", size: 36868, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/js/bootstrap.min.js", size: 36868, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -464,7 +422,7 @@ func staticSJsHtml5shivJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/js/html5shiv.js", size: 2429, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/js/html5shiv.js", size: 2429, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -484,7 +442,7 @@ func staticSJsJqueryJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/js/jquery.js", size: 95785, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/js/jquery.js", size: 95785, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -504,7 +462,7 @@ func staticSJsRespondMinJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/js/respond.min.js", size: 4377, mode: os.FileMode(436), modTime: time.Unix(1471886019, 0)} + info := bindataFileInfo{name: "static/s/js/respond.min.js", size: 4377, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -524,7 +482,7 @@ func staticSJsStarzJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "static/s/js/starz.js", size: 2129, mode: os.FileMode(436), modTime: time.Unix(1472157532, 0)} + info := bindataFileInfo{name: "static/s/js/starz.js", size: 2129, mode: os.FileMode(420), modTime: time.Unix(1479952089, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -581,7 +539,6 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "static/.list.html.swp": staticListHtmlSwp, "static/list.html": staticListHtml, "static/s/LICENSE": staticSLicense, "static/s/README.md": staticSReadmeMd, @@ -595,7 +552,6 @@ var _bindata = map[string]func() (*asset, error){ "static/s/fonts/glyphicons-halflings-regular.woff": staticSFontsGlyphiconsHalflingsRegularWoff, "static/s/fonts/glyphicons-halflings-regular.woff2": staticSFontsGlyphiconsHalflingsRegularWoff2, "static/s/index.html": staticSIndexHtml, - "static/s/js/.starz.js.swp": staticSJsStarzJsSwp, "static/s/js/bootstrap-datepicker.min.js": staticSJsBootstrapDatepickerMinJs, "static/s/js/bootstrap.js": staticSJsBootstrapJs, "static/s/js/bootstrap.min.js": staticSJsBootstrapMinJs, @@ -646,7 +602,6 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ "static": &bintree{nil, map[string]*bintree{ - ".list.html.swp": &bintree{staticListHtmlSwp, map[string]*bintree{}}, "list.html": &bintree{staticListHtml, map[string]*bintree{}}, "s": &bintree{nil, map[string]*bintree{ "LICENSE": &bintree{staticSLicense, map[string]*bintree{}}, @@ -666,7 +621,6 @@ var _bintree = &bintree{nil, map[string]*bintree{ }}, "index.html": &bintree{staticSIndexHtml, map[string]*bintree{}}, "js": &bintree{nil, map[string]*bintree{ - ".starz.js.swp": &bintree{staticSJsStarzJsSwp, map[string]*bintree{}}, "bootstrap-datepicker.min.js": &bintree{staticSJsBootstrapDatepickerMinJs, map[string]*bintree{}}, "bootstrap.js": &bintree{staticSJsBootstrapJs, map[string]*bintree{}}, "bootstrap.min.js": &bintree{staticSJsBootstrapMinJs, map[string]*bintree{}}, diff --git a/tranx.go b/tranx.go index 004e29d..4abfd7b 100644 --- a/tranx.go +++ b/tranx.go @@ -3,7 +3,7 @@ package chipmunk import "time" type tranx struct { - Cost float32 `json:"cost"` + Cost float64 `json:"cost"` Store string `json:"store"` Info string `json:"Info"` Month time.Month `json:"Month"` diff --git a/user.go b/user.go index 008fbe3..e512e1e 100644 --- a/user.go +++ b/user.go @@ -2,12 +2,11 @@ package chipmunk import "fmt" -var authEmails []string = []string{"derekmcquay@gmail.com", "colleenmmcquay@gmail.com", "dmmllnl@gmail.com"} +var authEmails []string = []string{"derekmcquay@gmail.com", "colleenmmcquay@gmail.com"} type user struct { Info userInfo `json:"info"` admin bool `json:"admin"` - txs []tranx `json:"Txs"` } type userInfo struct {