added store

This commit is contained in:
bronku 2025-02-07 08:40:04 +01:00
parent ea6546ec17
commit 0570e47be9
6 changed files with 208 additions and 151 deletions

21
model.go Normal file
View file

@ -0,0 +1,21 @@
package main
import "time"
type cake struct {
Name string
ID int
Price int
Amount int
}
type order struct {
ID int
Name string
Surname string
Phone string
Location string
Date time.Time
Paid int // increments of 0.01
Cakes []cake
}