-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from SwimResults/develop
sponsors in meeting data
- Loading branch information
Showing
3 changed files
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters