Skip to content

Commit

Permalink
add sponsors to meeting data
Browse files Browse the repository at this point in the history
  • Loading branch information
konrad2002 committed Nov 6, 2024
1 parent 4339822 commit c67fd3a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
23 changes: 12 additions & 11 deletions model/meeting_data.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
package model

type MeetingData struct {
LivetimingUrl string `json:"livetiming_url,omitempty" bson:"livetiming_url,omitempty"`
WebsiteUrl string `json:"website_url,omitempty" bson:"website_url,omitempty"`
StreamUrl string `json:"stream_url,omitempty" bson:"stream_url,omitempty"`
StreamEmbedUrl string `json:"stream_embed_url,omitempty" bson:"stream_embed_url,omitempty"`
InstagramUrl string `json:"instagram_url,omitempty" bson:"instagram_url,omitempty"`
FacebookUrl string `json:"facebook_url,omitempty" bson:"facebook_url,omitempty"`
HasLivetiming bool `json:"has_livetiming,omitempty" bson:"has_livetiming,omitempty"`
HasFtpStartList bool `json:"has_ftp_start_list,omitempty" bson:"has_ftp_start_list,omitempty"`
HasFtpResultList bool `json:"has_ftp_result_list,omitempty" bson:"has_ftp_result_list,omitempty"`
FtpStartListMask string `json:"ftp_start_list_mask,omitempty" bson:"ftp_start_list_mask,omitempty"`
FtpResultListMask string `json:"ftp_result_list_mask,omitempty" bson:"ftp_result_list_mask,omitempty"`
LivetimingUrl string `json:"livetiming_url,omitempty" bson:"livetiming_url,omitempty"`
WebsiteUrl string `json:"website_url,omitempty" bson:"website_url,omitempty"`
StreamUrl string `json:"stream_url,omitempty" bson:"stream_url,omitempty"`
StreamEmbedUrl string `json:"stream_embed_url,omitempty" bson:"stream_embed_url,omitempty"`
InstagramUrl string `json:"instagram_url,omitempty" bson:"instagram_url,omitempty"`
FacebookUrl string `json:"facebook_url,omitempty" bson:"facebook_url,omitempty"`
HasLivetiming bool `json:"has_livetiming,omitempty" bson:"has_livetiming,omitempty"`
HasFtpStartList bool `json:"has_ftp_start_list,omitempty" bson:"has_ftp_start_list,omitempty"`
HasFtpResultList bool `json:"has_ftp_result_list,omitempty" bson:"has_ftp_result_list,omitempty"`
FtpStartListMask string `json:"ftp_start_list_mask,omitempty" bson:"ftp_start_list_mask,omitempty"`
FtpResultListMask string `json:"ftp_result_list_mask,omitempty" bson:"ftp_result_list_mask,omitempty"`
Sponsors []Sponsor `json:"sponsors,omitempty" bson:"sponsors,omitempty"`
}
7 changes: 7 additions & 0 deletions model/sponsor.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package model

type Sponsor struct {
Name string `json:"name,omitempty" bson:"name,omitempty"`
ImageUrl string `json:"image_url,omitempty" bson:"image_url,omitempty"`
WebsiteUrl string `json:"website_url,omitempty" bson:"website_url,omitempty"`
}

0 comments on commit c67fd3a

Please sign in to comment.