Documentation ¶
Index ¶
- type EditForm
- type History
- type Mima
- func (m *Mima) Delete()
- func (m *Mima) DeleteHistory(datetime string) error
- func (m *Mima) HideSecrets() *Mima
- func (m *Mima) IsDeleted() bool
- func (m *Mima) UnDelete()
- func (m *Mima) UpdateFromForm(form *EditForm) (changeIndex, writeFrag bool)
- func (m *Mima) UpdateFromFrag(fragment *Mima) (changeIndex bool)
- type MimaWithHistory
- type Operation
- type OutputHistory
- type OutputMima
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mima ¶
type Mima struct { ID string Title string Alias string Username string Password string Notes string CreatedAt string // ISO8601 UpdatedAt string DeletedAt string Operation Operation History []*History }
func (*Mima) DeleteHistory ¶
func (*Mima) HideSecrets ¶
func (*Mima) UpdateFromForm ¶
func (*Mima) UpdateFromFrag ¶
UpdateFromFrag updates m when fragment.Operation is Update.
type MimaWithHistory ¶
type MimaWithHistory struct { OutputMima History []OutputHistory }
func MWH_From ¶
func MWH_From(m *Mima) (mwh MimaWithHistory)
type OutputHistory ¶
Click to show internal directories.
Click to hide internal directories.