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[]" faker:"boundary_start=1, boundary_end=10"`
Teams pq.Int64Array `gorm:"type:integer[]" faker:"boundary_start=1, boundary_end=10"`
Category int `faker:"boundary_start=1, boundary_end=15"`
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 `gorm:"unique" faker:"sentence"`
TeamID int `faker:"-" gorm:"unique" json:"team_id"`
Abbrev string `gorm:"unique" json:"abbrev" faker:"username"`
}
Click to show internal directories.
Click to hide internal directories.