models

package
v0.0.0-...-fad0cd1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2022 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL