Documentation ¶
Index ¶
- Constants
- Variables
- func BeginTx(ctx context.Context, opt *sql.TxOptions) (*sql.Tx, error)
- func ConfigureDSN() (tlsname string, err error)
- func DeleteConferenceAdministrator(tx *sql.Tx, cid, uid string) error
- func DeleteConferenceComponentsByIDAndName(tx *sql.Tx, conferenceID string, names ...string) error
- func DeleteConferenceStaff(tx *sql.Tx, cid, uid string) error
- func DeleteConferenceVenue(tx *sql.Tx, cid, vid string) error
- func DeleteLocalizedStringsForParent(tx *sql.Tx, parentID, parentType string) error
- func DeleteTracks(tx *sql.Tx, conferenceID string) (err error)
- func Init(dsn string) (err error)
- func IsAcceptingSubmissions(tx *sql.Tx, id string) error
- func IsAdministrator(tx *sql.Tx, userID string) error
- func IsConferenceAdministrator(tx *sql.Tx, cid, uid string) error
- func IsConferenceSeriesAdministrator(tx *sql.Tx, sid, uid string) error
- func IsSessionOwner(tx *sql.Tx, sessionID, userID string) (err error)
- func ListConferencesByOrganizer(tx *sql.Tx, l *ConferenceList, orgID string, statuses []string, since string, ...) error
- func LoadConferenceAdministrators(tx *sql.Tx, admins *UserList, cid string) error
- func LoadConferenceStaff(tx *sql.Tx, admins *UserList, cid string) error
- func LoadConferenceVenues(tx *sql.Tx, venues *VenueList, cid string) (err error)
- func LoadFeaturedSpeakers(tx *sql.Tx, venues *FeaturedSpeakerList, cid string) error
- func LoadSessionTypes(tx *sql.Tx, list *SessionTypeList, cid string) error
- func LoadSponsors(tx *sql.Tx, venues *SponsorList, cid string) error
- func LoadVenueRooms(tx *sql.Tx, rooms *RoomList, vid string) error
- func UpsertConferenceComponentsByIDAndName(tx *sql.Tx, conferenceID string, values map[string]string) error
- type BlogEntry
- type BlogEntryList
- func (v *BlogEntryList) FromRows(rows *sql.Rows, capacity int) error
- func (v *BlogEntryList) LoadByConference(tx *sql.Tx, confID string, status []string) (err error)
- func (v *BlogEntryList) LoadSince(tx *sql.Tx, since int64, limit int) error
- func (v *BlogEntryList) LoadSinceEID(tx *sql.Tx, since string, limit int) error
- type Client
- type ClientList
- type Conference
- type ConferenceAdministrator
- type ConferenceAdministratorList
- type ConferenceComponent
- func (c *ConferenceComponent) Create(tx *sql.Tx, opts ...InsertOption) (err error)
- func (c ConferenceComponent) Delete(tx *sql.Tx) error
- func (c *ConferenceComponent) LoadByEID(tx *sql.Tx, eid string) (err error)
- func (c *ConferenceComponent) Scan(scanner interface{ ... }) error
- func (c ConferenceComponent) Update(tx *sql.Tx) (err error)
- type ConferenceComponentList
- func (v *ConferenceComponentList) FromRows(rows *sql.Rows, capacity int) error
- func (ccl *ConferenceComponentList) LoadByConferenceID(tx *sql.Tx, cid string) error
- func (v *ConferenceComponentList) LoadSince(tx *sql.Tx, since int64, limit int) error
- func (v *ConferenceComponentList) LoadSinceEID(tx *sql.Tx, since string, limit int) error
- type ConferenceDate
- func (c *ConferenceDate) Create(tx *sql.Tx, opts ...InsertOption) (err error)
- func (c ConferenceDate) Delete(tx *sql.Tx) error
- func (cd *ConferenceDate) DeleteDate(tx *sql.Tx, cid, eid string) error
- func (c *ConferenceDate) LoadByEID(tx *sql.Tx, eid string) (err error)
- func (c *ConferenceDate) Scan(scanner interface{ ... }) error
- func (c ConferenceDate) Update(tx *sql.Tx) (err error)
- type ConferenceDateList
- func (v *ConferenceDateList) FromRows(rows *sql.Rows, capacity int) error
- func (cdl *ConferenceDateList) LoadByConferenceID(tx *sql.Tx, cid string) error
- func (v *ConferenceDateList) LoadSince(tx *sql.Tx, since int64, limit int) error
- func (v *ConferenceDateList) LoadSinceEID(tx *sql.Tx, since string, limit int) error
- type ConferenceList
- func (v *ConferenceList) FromRows(rows *sql.Rows, capacity int) error
- func (v *ConferenceList) LoadByRange(tx *sql.Tx, since string, rangeStart, rangeEnd time.Time, limit int) error
- func (v *ConferenceList) LoadFromQuery(tx *sql.Tx, status, organizerID []string, rangeStart, rangeEnd time.Time, ...) error
- func (v *ConferenceList) LoadSince(tx *sql.Tx, since int64, limit int) error
- func (v *ConferenceList) LoadSinceEID(tx *sql.Tx, since string, limit int) error
- type ConferenceSeries
- func (c *ConferenceSeries) Create(tx *sql.Tx, opts ...InsertOption) (err error)
- func (c ConferenceSeries) Delete(tx *sql.Tx) error
- func (c *ConferenceSeries) LoadByEID(tx *sql.Tx, eid string) (err error)
- func (c *ConferenceSeries) Scan(scanner interface{ ... }) error
- func (c ConferenceSeries) Update(tx *sql.Tx) (err error)
- type ConferenceSeriesAdministrator
- func (c *ConferenceSeriesAdministrator) Create(tx *sql.Tx, opts ...InsertOption) (err error)
- func (c ConferenceSeriesAdministrator) Delete(tx *sql.Tx) error
- func (c *ConferenceSeriesAdministrator) Scan(scanner interface{ ... }) error
- func (c ConferenceSeriesAdministrator) Update(tx *sql.Tx) (err error)
- type ConferenceSeriesAdministratorList
- type ConferenceSeriesList
- type ConferenceStaff
- type ConferenceStaffList
- type ConferenceVenue
- type ConferenceVenueList
- type Config
- type DB
- type ExternalResource
- func (e *ExternalResource) Create(tx *sql.Tx, opts ...InsertOption) (err error)
- func (e ExternalResource) Delete(tx *sql.Tx) error
- func (e *ExternalResource) LoadByEID(tx *sql.Tx, eid string) (err error)
- func (e *ExternalResource) Scan(scanner interface{ ... }) error
- func (e ExternalResource) Update(tx *sql.Tx) (err error)
- type ExternalResourceList
- func (v *ExternalResourceList) FromRows(rows *sql.Rows, capacity int) error
- func (v *ExternalResourceList) LoadByConference(tx *sql.Tx, conferenceID string) (err error)
- func (v *ExternalResourceList) LoadSince(tx *sql.Tx, since int64, limit int) error
- func (v *ExternalResourceList) LoadSinceEID(tx *sql.Tx, since string, limit int) error
- type FeaturedSpeaker
- func (f *FeaturedSpeaker) Create(tx *sql.Tx, opts ...InsertOption) (err error)
- func (f FeaturedSpeaker) Delete(tx *sql.Tx) error
- func (f *FeaturedSpeaker) LoadByEID(tx *sql.Tx, eid string) (err error)
- func (f *FeaturedSpeaker) Scan(scanner interface{ ... }) error
- func (f FeaturedSpeaker) Update(tx *sql.Tx) (err error)
- type FeaturedSpeakerList
- func (v *FeaturedSpeakerList) FromRows(rows *sql.Rows, capacity int) error
- func (v *FeaturedSpeakerList) LoadByConferenceSince(tx *sql.Tx, confID string, since int64, limit int) error
- func (v *FeaturedSpeakerList) LoadByConferenceSinceEID(tx *sql.Tx, confID, since string, limit int) error
- func (v *FeaturedSpeakerList) LoadSince(tx *sql.Tx, since int64, limit int) error
- func (v *FeaturedSpeakerList) LoadSinceEID(tx *sql.Tx, since string, limit int) error
- type InsertOption
- type LocalizedString
- func (l *LocalizedString) Create(tx *sql.Tx, opts ...InsertOption) (err error)
- func (l LocalizedString) Delete(tx *sql.Tx) error
- func (l *LocalizedString) LoadByLangKey(tx *sql.Tx, language, name, parentType, parentID string) error
- func (l *LocalizedString) Scan(scanner interface{ ... }) error
- func (l LocalizedString) Update(tx *sql.Tx) (err error)
- func (l *LocalizedString) Upsert(tx *sql.Tx) (err error)
- type LocalizedStringList
- type NullTime
- type Question
- type QuestionList
- type Room
- type RoomList
- func (v *RoomList) FromRows(rows *sql.Rows, capacity int) error
- func (v *RoomList) LoadForVenueSince(tx *sql.Tx, venueID string, since int64, limit int) error
- func (v *RoomList) LoadForVenueSinceEID(tx *sql.Tx, venueID string, since string, limit int) error
- func (v *RoomList) LoadSince(tx *sql.Tx, since int64, limit int) error
- func (v *RoomList) LoadSinceEID(tx *sql.Tx, since string, limit int) error
- type Session
- type SessionList
- func (v *SessionList) FromRows(rows *sql.Rows, capacity int) error
- func (v *SessionList) LoadByConference(tx *sql.Tx, conferenceID, speakerID string, rangeStart, rangeEnd time.Time, ...) (err error)
- func (v *SessionList) LoadSince(tx *sql.Tx, since int64, limit int) error
- func (v *SessionList) LoadSinceEID(tx *sql.Tx, since string, limit int) error
- type SessionType
- type SessionTypeList
- func (v *SessionTypeList) FromRows(rows *sql.Rows, capacity int) error
- func (v *SessionTypeList) LoadByConferenceSince(tx *sql.Tx, confID string, since int64, limit int) error
- func (v *SessionTypeList) LoadByConferenceSinceEID(tx *sql.Tx, confID, since string, limit int) error
- func (v *SessionTypeList) LoadSince(tx *sql.Tx, since int64, limit int) error
- func (v *SessionTypeList) LoadSinceEID(tx *sql.Tx, since string, limit int) error
- type Sponsor
- type SponsorList
- func (v *SponsorList) FromRows(rows *sql.Rows, capacity int) error
- func (v *SponsorList) LoadByConferenceSince(tx *sql.Tx, confID string, since int64, limit int) error
- func (v *SponsorList) LoadByConferenceSinceEID(tx *sql.Tx, confID, since string, limit int) error
- func (v *SponsorList) LoadSince(tx *sql.Tx, since int64, limit int) error
- func (v *SponsorList) LoadSinceEID(tx *sql.Tx, since string, limit int) error
- type StmtItem
- type StmtKey
- type StmtPool
- type TemporaryEmail
- func (t *TemporaryEmail) Create(tx *sql.Tx, opts ...InsertOption) (err error)
- func (t TemporaryEmail) Delete(tx *sql.Tx) error
- func (vdb *TemporaryEmail) LoadByUserIDAndConfirmationKey(tx *sql.Tx, userID, confirmationKey string) error
- func (t *TemporaryEmail) Scan(scanner interface{ ... }) error
- func (t TemporaryEmail) Update(tx *sql.Tx) (err error)
- func (vdb *TemporaryEmail) Upsert(tx *sql.Tx) error
- type TemporaryEmailList
- type Track
- func (t *Track) Create(tx *sql.Tx, opts ...InsertOption) (err error)
- func (t Track) Delete(tx *sql.Tx) error
- func (vdb *Track) Load(tx *sql.Tx, conferenceID, roomID string) (err error)
- func (t *Track) LoadByEID(tx *sql.Tx, eid string) (err error)
- func (t *Track) Scan(scanner interface{ ... }) error
- func (t Track) Update(tx *sql.Tx) (err error)
- type TrackList
- type Tx
- type User
- func (u *User) Create(tx *sql.Tx, opts ...InsertOption) (err error)
- func (u User) Delete(tx *sql.Tx) error
- func (vdb *User) LoadByAuthUserID(tx *sql.Tx, via, id string) error
- func (u *User) LoadByEID(tx *sql.Tx, eid string) (err error)
- func (u *User) Scan(scanner interface{ ... }) error
- func (u User) Update(tx *sql.Tx) (err error)
- type UserList
- type Venue
- type VenueList
Constants ¶
View Source
const BlogEntryStdSelectColumns = "" /* 195-byte string literal not displayed */
View Source
const BlogEntryTable = "blog_entries"
View Source
const ClientStdSelectColumns = "clients.oid, clients.eid, clients.secret, clients.name, clients.created_on, clients.modified_on"
View Source
const ClientTable = "clients"
View Source
const ConferenceAdministratorStdSelectColumns = "" /* 220-byte string literal not displayed */
View Source
const ConferenceAdministratorTable = "conference_administrators"
View Source
const ConferenceComponentStdSelectColumns = "" /* 215-byte string literal not displayed */
View Source
const ConferenceComponentTable = "conference_components"
View Source
const ConferenceDateStdSelectColumns = "conference_dates.oid, conference_dates.eid, conference_dates.conference_id, conference_dates.open, conference_dates.close"
View Source
const ConferenceDateTable = "conference_dates"
View Source
const ConferenceSeriesAdministratorStdSelectColumns = "" /* 213-byte string literal not displayed */
View Source
const ConferenceSeriesAdministratorTable = "conference_series_administrators"
View Source
const ConferenceSeriesStdSelectColumns = "" /* 154-byte string literal not displayed */
View Source
const ConferenceSeriesTable = "conference_series"
View Source
const ConferenceStaffStdSelectColumns = "" /* 166-byte string literal not displayed */
View Source
const ConferenceStaffTable = "conference_staff"
View Source
const ConferenceStdSelectColumns = "" /* 349-byte string literal not displayed */
View Source
const ConferenceTable = "conferences"
View Source
const ConferenceVenueStdSelectColumns = "" /* 143-byte string literal not displayed */
View Source
const ConferenceVenueTable = "conference_venues"
View Source
const ExternalResourceStdSelectColumns = "" /* 223-byte string literal not displayed */
View Source
const ExternalResourceTable = "external_resources"
View Source
const FeaturedSpeakerStdSelectColumns = "" /* 261-byte string literal not displayed */
View Source
const FeaturedSpeakerTable = "featured_speakers"
View Source
const LocalizedStringStdSelectColumns = "" /* 162-byte string literal not displayed */
View Source
const LocalizedStringTable = "localized_strings"
View Source
const QuestionStdSelectColumns = "" /* 130-byte string literal not displayed */
View Source
const QuestionTable = "questions"
View Source
const RoomStdSelectColumns = "rooms.oid, rooms.eid, rooms.venue_id, rooms.name, rooms.capacity, rooms.created_on, rooms.modified_on"
View Source
const RoomTable = "rooms"
View Source
const SessionStdSelectColumns = "" /* 647-byte string literal not displayed */
View Source
const SessionTable = "sessions"
View Source
const SessionTypeStdSelectColumns = "" /* 274-byte string literal not displayed */
View Source
const SessionTypeTable = "session_types"
View Source
const SponsorStdSelectColumns = "" /* 183-byte string literal not displayed */
View Source
const SponsorTable = "sponsors"
View Source
const TemporaryEmailStdSelectColumns = "" /* 134-byte string literal not displayed */
View Source
const TemporaryEmailTable = "temporary_emails"
View Source
const TrackStdSelectColumns = "" /* 131-byte string literal not displayed */
View Source
const TrackTable = "tracks"
View Source
const UserStdSelectColumns = "" /* 238-byte string literal not displayed */
View Source
const UserTable = "users"
View Source
const VenueStdSelectColumns = "" /* 154-byte string literal not displayed */
View Source
const VenueTable = "venues"
Variables ¶
View Source
var ErrNoTLSRequested = errors.New("TLS environment variables not set")
View Source
var Trace bool
Functions ¶
func ConfigureDSN ¶
func LoadConferenceVenues ¶
func LoadFeaturedSpeakers ¶
func LoadFeaturedSpeakers(tx *sql.Tx, venues *FeaturedSpeakerList, cid string) error
func LoadSessionTypes ¶
func LoadSessionTypes(tx *sql.Tx, list *SessionTypeList, cid string) error
func LoadSponsors ¶
func LoadSponsors(tx *sql.Tx, venues *SponsorList, cid string) error
Types ¶
type BlogEntry ¶
type BlogEntry struct { OID int64 EID string ConferenceID string Title string URL string URLHash string Status string CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"blog_entries"
type BlogEntryList ¶
type BlogEntryList []BlogEntry
func (*BlogEntryList) FromRows ¶
func (v *BlogEntryList) FromRows(rows *sql.Rows, capacity int) error
func (*BlogEntryList) LoadByConference ¶
func (*BlogEntryList) LoadSinceEID ¶
type Client ¶
type Client struct { OID int64 EID string Secret string Name string CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"clients"
type ClientList ¶
type ClientList []Client
func (*ClientList) LoadSinceEID ¶
type Conference ¶
type Conference struct { OID int64 // intenral id, used for sorting and what not EID string // ID that is visible to the outside CoverURL sql.NullString RedirectURL sql.NullString SeriesID string // ConferenceSeries ID Slug string Status string SubTitle sql.NullString Title string BlogFeedbackAvailable bool // true if we are collecting/displaying blog feed back TimetableAvailable bool Timezone string CreatedBy string // User ID that creates this conference CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"conferences"
func (*Conference) Create ¶
func (c *Conference) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*Conference) Scan ¶
func (c *Conference) Scan(scanner interface { Scan(...interface{}) error }) error
type ConferenceAdministrator ¶
type ConferenceAdministrator struct { OID int64 // OID is the internal id, used for sorting and what not ConferenceID string UserID string SortOrder int CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"conference_administrators"
func (*ConferenceAdministrator) Create ¶
func (c *ConferenceAdministrator) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*ConferenceAdministrator) Scan ¶
func (c *ConferenceAdministrator) Scan(scanner interface { Scan(...interface{}) error }) error
type ConferenceAdministratorList ¶
type ConferenceAdministratorList []ConferenceAdministrator
type ConferenceComponent ¶
type ConferenceComponent struct { OID int64 // intenral id, used for sorting and what not EID string // ID that is visible to the outside ConferenceID string Name string Value string CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"conference_components"
func (*ConferenceComponent) Create ¶
func (c *ConferenceComponent) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*ConferenceComponent) LoadByEID ¶
func (c *ConferenceComponent) LoadByEID(tx *sql.Tx, eid string) (err error)
func (*ConferenceComponent) Scan ¶
func (c *ConferenceComponent) Scan(scanner interface { Scan(...interface{}) error }) error
type ConferenceComponentList ¶
type ConferenceComponentList []ConferenceComponent
func (*ConferenceComponentList) FromRows ¶
func (v *ConferenceComponentList) FromRows(rows *sql.Rows, capacity int) error
func (*ConferenceComponentList) LoadByConferenceID ¶
func (ccl *ConferenceComponentList) LoadByConferenceID(tx *sql.Tx, cid string) error
func (*ConferenceComponentList) LoadSinceEID ¶
type ConferenceDate ¶
type ConferenceDate struct { OID int64 EID string ConferenceID string Open NullTime Close NullTime }
+DB tablename:"conference_dates"
func (*ConferenceDate) Create ¶
func (c *ConferenceDate) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*ConferenceDate) DeleteDate ¶
func (cd *ConferenceDate) DeleteDate(tx *sql.Tx, cid, eid string) error
func (*ConferenceDate) LoadByEID ¶
func (c *ConferenceDate) LoadByEID(tx *sql.Tx, eid string) (err error)
func (*ConferenceDate) Scan ¶
func (c *ConferenceDate) Scan(scanner interface { Scan(...interface{}) error }) error
type ConferenceDateList ¶
type ConferenceDateList []ConferenceDate
func (*ConferenceDateList) FromRows ¶
func (v *ConferenceDateList) FromRows(rows *sql.Rows, capacity int) error
func (*ConferenceDateList) LoadByConferenceID ¶
func (cdl *ConferenceDateList) LoadByConferenceID(tx *sql.Tx, cid string) error
func (*ConferenceDateList) LoadSinceEID ¶
type ConferenceList ¶
type ConferenceList []Conference
func (*ConferenceList) FromRows ¶
func (v *ConferenceList) FromRows(rows *sql.Rows, capacity int) error
func (*ConferenceList) LoadByRange ¶
func (*ConferenceList) LoadFromQuery ¶
func (*ConferenceList) LoadSinceEID ¶
type ConferenceSeries ¶
type ConferenceSeries struct { OID int64 // intenral id, used for sorting and what not EID string // ID that is visible to the outside Slug string Title string CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"conference_series"
func (*ConferenceSeries) Create ¶
func (c *ConferenceSeries) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*ConferenceSeries) LoadByEID ¶
func (c *ConferenceSeries) LoadByEID(tx *sql.Tx, eid string) (err error)
func (*ConferenceSeries) Scan ¶
func (c *ConferenceSeries) Scan(scanner interface { Scan(...interface{}) error }) error
type ConferenceSeriesAdministrator ¶
type ConferenceSeriesAdministrator struct { OID int64 // OID is the internal id, used for sorting and what not SeriesID string UserID string CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"conference_series_administrators"
func (*ConferenceSeriesAdministrator) Create ¶
func (c *ConferenceSeriesAdministrator) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (ConferenceSeriesAdministrator) Delete ¶
func (c ConferenceSeriesAdministrator) Delete(tx *sql.Tx) error
func (*ConferenceSeriesAdministrator) Scan ¶
func (c *ConferenceSeriesAdministrator) Scan(scanner interface { Scan(...interface{}) error }) error
type ConferenceSeriesAdministratorList ¶
type ConferenceSeriesAdministratorList []ConferenceSeriesAdministrator
type ConferenceSeriesList ¶
type ConferenceSeriesList []ConferenceSeries
func (*ConferenceSeriesList) FromRows ¶
func (v *ConferenceSeriesList) FromRows(rows *sql.Rows, capacity int) error
func (*ConferenceSeriesList) LoadSinceEID ¶
type ConferenceStaff ¶
type ConferenceStaff struct { OID int64 // OID is the internal id, used for sorting and what not ConferenceID string UserID string SortOrder int CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"conference_staff"
func (*ConferenceStaff) Create ¶
func (c *ConferenceStaff) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*ConferenceStaff) Scan ¶
func (c *ConferenceStaff) Scan(scanner interface { Scan(...interface{}) error }) error
type ConferenceStaffList ¶
type ConferenceStaffList []ConferenceStaff
type ConferenceVenue ¶
type ConferenceVenue struct { OID int64 // OID is the internal id, used for sorting and what not ConferenceID string VenueID string CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"conference_venues"
func (*ConferenceVenue) Create ¶
func (c *ConferenceVenue) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*ConferenceVenue) Scan ¶
func (c *ConferenceVenue) Scan(scanner interface { Scan(...interface{}) error }) error
type ConferenceVenueList ¶
type ConferenceVenueList []ConferenceVenue
type ExternalResource ¶
type ExternalResource struct { OID int64 EID string ConferenceID string Description string ImageURL sql.NullString Title string URL string SortOrder int }
+DB tablename:"external_resources"
func (*ExternalResource) Create ¶
func (e *ExternalResource) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*ExternalResource) LoadByEID ¶
func (e *ExternalResource) LoadByEID(tx *sql.Tx, eid string) (err error)
func (*ExternalResource) Scan ¶
func (e *ExternalResource) Scan(scanner interface { Scan(...interface{}) error }) error
type ExternalResourceList ¶
type ExternalResourceList []ExternalResource
func (*ExternalResourceList) FromRows ¶
func (v *ExternalResourceList) FromRows(rows *sql.Rows, capacity int) error
func (*ExternalResourceList) LoadByConference ¶
func (v *ExternalResourceList) LoadByConference(tx *sql.Tx, conferenceID string) (err error)
func (*ExternalResourceList) LoadSinceEID ¶
type FeaturedSpeaker ¶
type FeaturedSpeaker struct { OID int64 EID string ConferenceID string SpeakerID sql.NullString AvatarURL sql.NullString DisplayName string Description string CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"featured_speakers"
func (*FeaturedSpeaker) Create ¶
func (f *FeaturedSpeaker) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*FeaturedSpeaker) LoadByEID ¶
func (f *FeaturedSpeaker) LoadByEID(tx *sql.Tx, eid string) (err error)
func (*FeaturedSpeaker) Scan ¶
func (f *FeaturedSpeaker) Scan(scanner interface { Scan(...interface{}) error }) error
type FeaturedSpeakerList ¶
type FeaturedSpeakerList []FeaturedSpeaker
func (*FeaturedSpeakerList) FromRows ¶
func (v *FeaturedSpeakerList) FromRows(rows *sql.Rows, capacity int) error
func (*FeaturedSpeakerList) LoadByConferenceSince ¶
func (*FeaturedSpeakerList) LoadByConferenceSinceEID ¶
func (*FeaturedSpeakerList) LoadSinceEID ¶
type InsertOption ¶
type InsertOption interface{}
func WithInsertIgnore ¶
func WithInsertIgnore(b bool) InsertOption
type LocalizedString ¶
type LocalizedString struct { OID int64 ParentID string // EID of the parent object ParentType string // Type of the parent object Name string Language string Localized string }
+DB tablename:"localized_strings"
func (*LocalizedString) Create ¶
func (l *LocalizedString) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*LocalizedString) LoadByLangKey ¶
func (l *LocalizedString) LoadByLangKey(tx *sql.Tx, language, name, parentType, parentID string) error
func (*LocalizedString) Scan ¶
func (l *LocalizedString) Scan(scanner interface { Scan(...interface{}) error }) error
type LocalizedStringList ¶
type LocalizedStringList []LocalizedString
func LoadLocalizedStringsForParent ¶
func LoadLocalizedStringsForParent(tx *sql.Tx, parentID, parentType string) (LocalizedStringList, error)
type Question ¶
type Question struct { OID int64 EID string SessionID string UserID string Body string CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"questions"
type QuestionList ¶
type QuestionList []Question
func (*QuestionList) LoadSinceEID ¶
type Room ¶
type Room struct { OID int64 // intenral id, used for sorting and what not EID string // ID that is visible to the outside VenueID string // ID of the venue that this room belongs to Name string // Name of the room (English) Capacity uint // How many people fit in this room? Approximation. CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"rooms"
type RoomList ¶
type RoomList []Room
func (*RoomList) LoadForVenueSince ¶
func (*RoomList) LoadForVenueSinceEID ¶
type Session ¶
type Session struct { OID int64 // OID is the internal id, used for sorting and what not EID string // EID is the ID that is visible to the outside ConferenceID string // ConferenceID is the ID of the conference that this session belongs to RoomID sql.NullString // ID of the room where this session will be held at. SpeakerID string // ID of the speaker that this session belongs to SessionTypeID string // ID of the session type Title sql.NullString // Title of the session (English) Abstract sql.NullString // Abstract of the session (English) Memo sql.NullString // Correspondence between the speaker and the organizer. Should not be publicly available StartsOn NullTime // Time that this session is scheduled to start on Duration int // Length of this session in minutes. MaterialLevel sql.NullString Tags sql.NullString // Comma separated tags Category sql.NullString SelectionResultSent bool SpokenLanguage sql.NullString SlideLanguage sql.NullString SlideSubtitles sql.NullString SlideURL sql.NullString VideoURL sql.NullString PhotoRelease sql.NullString RecordingRelease sql.NullString MaterialsRelease sql.NullString HasInterpretation bool IsVoteTarget bool Status string SortOrder int Confirmed bool CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"sessions"
type SessionList ¶
type SessionList []Session
func (*SessionList) LoadByConference ¶
func (*SessionList) LoadSinceEID ¶
type SessionType ¶
type SessionType struct { OID int64 // OID is the internal id, used for sorting and what not EID string // EID is the ID that is visible to the outside ConferenceID string // ConferenceID is the ID of the conference that this session belongs to Name string Abstract string Duration int IsDefault bool SubmissionStart NullTime SubmissionEnd NullTime CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"session_types"
func (*SessionType) Create ¶
func (s *SessionType) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*SessionType) Scan ¶
func (s *SessionType) Scan(scanner interface { Scan(...interface{}) error }) error
type SessionTypeList ¶
type SessionTypeList []SessionType
func (*SessionTypeList) FromRows ¶
func (v *SessionTypeList) FromRows(rows *sql.Rows, capacity int) error
func (*SessionTypeList) LoadByConferenceSince ¶
func (*SessionTypeList) LoadByConferenceSinceEID ¶
func (*SessionTypeList) LoadSinceEID ¶
type Sponsor ¶
type Sponsor struct { OID int64 EID string ConferenceID string Name string LogoURL sql.NullString URL string GroupName string SortOrder int CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"sponsors"
type SponsorList ¶
type SponsorList []Sponsor
func (*SponsorList) LoadByConferenceSince ¶
func (*SponsorList) LoadByConferenceSinceEID ¶
func (*SponsorList) LoadSinceEID ¶
type TemporaryEmail ¶
type TemporaryEmail struct { OID int64 UserID string ConfirmationKey string Email string ExpiresOn time.Time }
+DB tablename:"temporary_emails"
func (*TemporaryEmail) Create ¶
func (t *TemporaryEmail) Create(tx *sql.Tx, opts ...InsertOption) (err error)
func (*TemporaryEmail) LoadByUserIDAndConfirmationKey ¶
func (vdb *TemporaryEmail) LoadByUserIDAndConfirmationKey(tx *sql.Tx, userID, confirmationKey string) error
func (*TemporaryEmail) Scan ¶
func (t *TemporaryEmail) Scan(scanner interface { Scan(...interface{}) error }) error
type TemporaryEmailList ¶
type TemporaryEmailList []TemporaryEmail
type Track ¶
type Track struct { OID int64 EID string ConferenceID string RoomID string Name string SortOrder int CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"tracks"
type TrackList ¶
type TrackList []Track
func (*TrackList) LoadByConferenceID ¶
type User ¶
type User struct { OID int64 EID string AuthVia string AuthUserID string AvatarURL sql.NullString FirstName sql.NullString LastName sql.NullString Lang string Nickname string Email sql.NullString TshirtSize sql.NullString IsAdmin bool Timezone string CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"users"
type Venue ¶
type Venue struct { OID int64 // intenral id, used for sorting and what not EID string // ID that is visible to the outside Name string // Name of the venue (English) Address string PlaceID sql.NullString URL sql.NullString Latitude float64 Longitude float64 CreatedOn time.Time ModifiedOn NullTime }
+DB tablename:"venues"
Source Files ¶
- blog_entry.go
- blog_entry_gen.go
- client_gen.go
- conference.go
- conference_administrator.go
- conference_administrator_gen.go
- conference_component.go
- conference_component_gen.go
- conference_date.go
- conference_date_gen.go
- conference_gen.go
- conference_series_administrator.go
- conference_series_administrator_gen.go
- conference_series_gen.go
- conference_staff.go
- conference_staff_gen.go
- conference_venue.go
- conference_venue_gen.go
- db.go
- db_mysql.go
- doc.go
- external_resource.go
- external_resource_gen.go
- featured_speaker.go
- featured_speaker_gen.go
- interface.go
- localized_string.go
- localized_string_gen.go
- options.go
- question_gen.go
- room.go
- room_gen.go
- session.go
- session_gen.go
- session_type.go
- session_type_gen.go
- sponsor.go
- sponsor_gen.go
- temporary_email.go
- temporary_email_gen.go
- track.go
- track_gen.go
- user.go
- user_gen.go
- venue.go
- venue_gen.go
Click to show internal directories.
Click to hide internal directories.