Add basic CRUD operations for the doselogging and a list command. Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
14 lines
177 B
Go
14 lines
177 B
Go
package main
|
|
|
|
import "time"
|
|
|
|
type Dose struct {
|
|
ID int
|
|
Time time.Time
|
|
Substance string
|
|
Dose float64
|
|
Unit string
|
|
Roa string
|
|
Notes string
|
|
}
|