style rewrite

This commit is contained in:
bronku 2026-06-10 20:42:06 +02:00
parent 8c7067d5d9
commit 7c756e87c1
8 changed files with 737 additions and 376 deletions

View file

@ -86,6 +86,7 @@ func (h *Server) order(r *http.Request) (any, int, error) {
url := strings.Split(r.URL.String(), "/")
if len(url) < 3 || url[2] == "" {
data.Order.Date = time.Now()
return data, http.StatusOK, nil
}