Versions in this module Expand all Collapse all v0 v0.3.0 Apr 18, 2025 Changes in this version type New + Recurrence string v0.2.0 Mar 22, 2025 Changes in this version type Edit + End *time.Time + type StdoutWriter struct + Stdout io.Writer + VerboseWriter io.Writer + func (sw *StdoutWriter) Verbose() io.Writer + func (sw *StdoutWriter) Write(p []byte) (n int, err error) v0.1.0 Mar 14, 2025 Changes in this version + const DAY + var TIME_FORMAT = "15:04" + func Markdown(e db.Event) string + func Midnight(now time.Time) time.Time + func Normalize(s, now time.Time) time.Time + func Run(ctx context.Context, stdout io.Writer, args []string) error + type Delete struct + ID []int64 + func (cmd Delete) Run(ctx context.Context, stdout Stdout, queries *db.Queries) error + type Edit struct + Description string + ID int64 + Name string + Start time.Time + func (cmd Edit) Run(ctx context.Context, stdout Stdout, queries *db.Queries, now func() time.Time) error + type Get struct + All bool + Date time.Time + Out string + func (cmd Get) Run(ctx context.Context, stdout Stdout, queries *db.Queries, now func() time.Time) error + type New struct + Description string + Name string + StartDate time.Time + StartTime time.Time + func (cmd New) Run(ctx context.Context, stdout Stdout, queries *db.Queries, now func() time.Time) error + type Root struct + DataSource string + Delete Delete + Driver string + Edit Edit + Get Get + New New + Verbose bool + type Stdout interface + Verbose func() io.Writer