Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct { Date string `vugu:"data"` // "yyyy-mm-dd" or "". TimeFrom string `vugu:"data"` // "hh:mm" or "". TimeTo string `vugu:"data"` // "hh:mm" or "". Activity string `vugu:"data"` Actors []string `vugu:"data"` Customer string `vugu:"data"` Details string `vugu:"data"` Duration string // "h:mm", computed. }
type RecordForm ¶
type RecordForm struct { wire.Appl ID int // 0 means "Add" form, other means "Edit" form. Record Record `vugu:"data"` // contains filtered or unexported fields }
func (*RecordForm) Compute ¶
func (c *RecordForm) Compute(ctx vugu.ComputeCtx)
func (*RecordForm) Destroy ¶
func (c *RecordForm) Destroy(ctx vugu.DestroyCtx)
func (*RecordForm) Init ¶
func (c *RecordForm) Init(ctx vugu.InitCtx)
func (*RecordForm) OnRecordAdded ¶
func (c *RecordForm) OnRecordAdded(_ app.EventRecordAdded) bool
Click to show internal directories.
Click to hide internal directories.