Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Area ¶
Area is the meeting's area
type Location ¶
type Location struct {
ID int64
ZipCode *string
AddressString string
// Lat float64
// Lng float64
// Location int64 `kallax:"-"`
Location pqtype.PostGISPoint
// contains filtered or unexported fields
}
Location is where a meeting is held
func (*Location) BeforeSave ¶
BeforeSave on the location to geolocate the request
type Meeting ¶
type Meeting struct {
ID int64
Name string
Time time.Time
// URL url.URL
URL string
Area Area `gorm:"auto_preload"`
AreaID sql.NullInt64
Location Location `gorm:"auto_preload"`
LocationID sql.NullInt64
OrigFilename string
RowSrc string
Notes string
Codes []Code `` /* 167-byte string literal not displayed */
Types []Type `` /* 167-byte string literal not displayed */
}
Meeting is the main thing
type VirtualMeeting ¶
type VirtualMeeting struct {
ID int64
Name string
Time time.Time
URL string
Area string
AreaSlug string
LocationID sql.NullInt64
AddressString string
Location pqtype.PostGISPoint
Notes string
Day string
Codes []Code `` /* 167-byte string literal not displayed */
Types []Type `` /* 167-byte string literal not displayed */
}
VirtualMeeting Table
func (VirtualMeeting) QueryNoDay ¶
func (VirtualMeeting) QueryNoDay(conn *gorm.DB) *gorm.DB
QueryNoDay Creates the query base to generate a VirtualMeeting, without a day
func (VirtualMeeting) QueryWithDay ¶
func (VirtualMeeting) QueryWithDay(conn *gorm.DB) *gorm.DB
QueryWithDay Creates the query base to generate a VirtualMeeting
Click to show internal directories.
Click to hide internal directories.