diff --git a/TODO.md b/TODO.md index dde1d49..f3e5bfc 100644 --- a/TODO.md +++ b/TODO.md @@ -12,8 +12,20 @@ - [x] Add database caching - [ ] HTTPS -- [ ] Storing default login in config file/env variable +- [ ] Storing default login in config file/env variable - [ ] Input Validation +- [ ] Saparate routing logic, and http handlers +- [ ] Better error Handling +- [ ] Migrate to gorm -> simplification of codebase +- [ ] Proper session auth ? +- [ ] /orders/search htmx trigger `
` +- [ ] orders.gohtml remove inline css +- [ ] move style for order_fts into a separate css file +- [ ] containerization +- [ ] ci/cd pipeline (github actions) +- [ ] monitoring (prometheus, grafana) +- [ ] structured logs (JSON format), log formatter + - [ ] Phone number format validation - [ ] Required fields validation diff --git a/models/data.go b/models/data.go index 48eafcb..6ba6eef 100644 --- a/models/data.go +++ b/models/data.go @@ -5,7 +5,7 @@ import "time" type Cake struct { Name string ID int - Price int + Price int // increments of 0.01 Amount int Category string Availability string