Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EcomEvent ¶
type EcomEvent struct {
ID uint `gorm:"primaryKey" faker:"-"`
CreatedAt time.Time `faker:"-"`
UpdatedAt time.Time `faker:"-"`
DeletedAt gorm.DeletedAt `gorm:"index" faker:"-"`
Team string // Team short-code/alias
Success bool
}
Register transactions from the ecom API
type Event ¶
type Event struct {
ID uint `gorm:"primaryKey" faker:"-"`
CreatedAt time.Time `faker:"-"`
UpdatedAt time.Time `faker:"-"`
DeletedAt gorm.DeletedAt `gorm:"index" faker:"-"`
Targets pq.Int64Array `gorm:"type:integer[]"`
Teams pq.Int64Array `gorm:"type:integer[]"`
Category int
Description string `faker:"sentence"`
}
type Team ¶
type Team struct {
ID uint `gorm:"primaryKey" faker:"-"`
CreatedAt time.Time `faker:"-"`
UpdatedAt time.Time `faker:"-"`
DeletedAt gorm.DeletedAt `gorm:"index" faker:"-"`
Name string `faker:"username" gorm:"unique"`
TeamID int `gorm:"unique" json:"team_id"`
Abbrev string `gorm:"unique" json:"abbrev"`
}
type TeamReport ¶
Click to show internal directories.
Click to hide internal directories.