Documentation ¶
Index ¶
- type ActivityGroup
- func (activityGroup ActivityGroup) Delete() (int, error)
- func (ActivityGroup) GetAll(activityGroups *[]ActivityGroup) error
- func (ActivityGroup) GetByID(activityID int, activityGroup *ActivityGroup) error
- func (activityGroup ActivityGroup) Insert() (int, error)
- func (activityGroup ActivityGroup) Update() (int, error)
- func (activityGroup ActivityGroup) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityGroup ¶
type ActivityGroup struct { ID int `json:"id"` Email string `json:"email"` Title string `json:"title"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at"` }
func (ActivityGroup) Delete ¶
func (activityGroup ActivityGroup) Delete() (int, error)
func (ActivityGroup) GetAll ¶
func (ActivityGroup) GetAll(activityGroups *[]ActivityGroup) error
func (ActivityGroup) GetByID ¶
func (ActivityGroup) GetByID(activityID int, activityGroup *ActivityGroup) error
func (ActivityGroup) Insert ¶
func (activityGroup ActivityGroup) Insert() (int, error)
func (ActivityGroup) Update ¶
func (activityGroup ActivityGroup) Update() (int, error)
func (ActivityGroup) Validate ¶
func (activityGroup ActivityGroup) Validate() error
Click to show internal directories.
Click to hide internal directories.