Documentation ¶
Index ¶
- type Contact
- func (c *Contact) GetDateAdd() time.Time
- func (c *Contact) GetEmail() customtype.NullString
- func (c *Contact) GetEmailString() string
- func (c *Contact) GetID() int
- func (c *Contact) GetMessage() string
- func (c *Contact) GetName() string
- func (c *Contact) GetUUID() string
- func (*Contact) New() model.IContact
- func (c *Contact) SetDateAdd(dateAdd time.Time) model.IContact
- func (c *Contact) SetEmail(email customtype.NullString) model.IContact
- func (c *Contact) SetEmailString() model.IContact
- func (c *Contact) SetID(id int) model.ICommon
- func (c *Contact) SetMessage(message string) model.IContact
- func (c *Contact) SetName(name string) model.IContact
- func (c *Contact) SetUUID(uuid string) model.ICommon
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contact ¶
type Contact struct { ID int `json:"id" db:"id"` UUID string `json:"uuid" db:"uuid"` Name string `db:"name"` Message string `db:"message"` Email customtype.NullString `db:"email"` DateAdd time.Time `db:"date_add"` EmailString string }
Contact Contact
func (*Contact) GetEmailString ¶
GetEmailString GetEmailString
func (*Contact) SetDateAdd ¶
SetDateAdd SetDateAdd
func (*Contact) SetEmail ¶
func (c *Contact) SetEmail(email customtype.NullString) model.IContact
SetEmail SetEmail
func (*Contact) SetEmailString ¶
SetEmailString SetEmailString
func (*Contact) SetMessage ¶
SetMessage SetMessage
Click to show internal directories.
Click to hide internal directories.