put together the new account path

This commit is contained in:
2025-10-05 22:49:50 -06:00
parent 8ad88c4957
commit 347e96d81d
4 changed files with 209 additions and 38 deletions
+8
View File
@@ -119,6 +119,14 @@ func (fld *DialogItem) AsDate() *time.Time {
return nil
}
// ValPtr returns the value of a field as a string pointer, or nil if the field is empty.
func (fld *DialogItem) ValPtr() *string {
if fld.Value == "" {
return nil
}
return &fld.Value
}
/* Field returns a pointer to a dialog's field, given its name.
* Parameters:
* name - The name of the field to find.