Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clip ¶
type Clip struct { ClipIndex sql.NullInt64 `gorm:"column:ClipIndex"` DurationInMilliseconds sql.NullInt64 `gorm:"column:DurationInMilliseconds"` ID sql.NullInt64 `gorm:"column:Id"` ModuleID sql.NullInt64 `gorm:"column:ModuleId"` Name sql.NullString `gorm:"column:Name"` SupportsStandard sql.NullInt64 `gorm:"column:SupportsStandard"` SupportsWidescreen sql.NullInt64 `gorm:"column:SupportsWidescreen"` Title sql.NullString `gorm:"column:Title"` }
type ClipTranscription ¶
type ClipTranscription struct { ClipID string `json:"clipId"` LanguageCode string `json:"languageCode"` Transcripts []Transcript `json:"transcripts"` }
type Cliptranscript ¶
type Cliptranscript struct { ClipID sql.NullInt64 `gorm:"column:ClipId"` EndTime sql.NullInt64 `gorm:"column:EndTime"` ID sql.NullInt64 `gorm:"column:Id;primary_key"` StartTime sql.NullInt64 `gorm:"column:StartTime"` Text sql.NullString `gorm:"column:Text"` }
func (*Cliptranscript) TableName ¶
func (c *Cliptranscript) TableName() string
TableName sets the insert table name for this struct type
type Course ¶
type Course struct { AuthorsFullnames sql.NullString `gorm:"column:AuthorsFullnames"` CachedOn sql.NullString `gorm:"column:CachedOn"` DefaultImageURL sql.NullString `gorm:"column:DefaultImageUrl"` Description sql.NullString `gorm:"column:Description"` DurationInMilliseconds sql.NullInt64 `gorm:"column:DurationInMilliseconds"` HasTranscript sql.NullInt64 `gorm:"column:HasTranscript"` ImageURL sql.NullString `gorm:"column:ImageUrl"` IsStale sql.NullInt64 `gorm:"column:IsStale"` Level sql.NullString `gorm:"column:Level"` Name sql.NullString `gorm:"column:Name"` ReleaseDate sql.NullString `gorm:"column:ReleaseDate"` ShortDescription sql.NullString `gorm:"column:ShortDescription"` Title sql.NullString `gorm:"column:Title"` UpdatedDate sql.NullString `gorm:"column:UpdatedDate"` URLSlug sql.NullString `gorm:"column:UrlSlug"` }
type CourseTranscript ¶
type CourseTranscript struct { CourseID string `json:"courseId"` Modules []ModuleTranscript `json:"modules"` }
func UnmarshalCourse ¶
func UnmarshalCourse(data []byte) (*CourseTranscript, error)
type Module ¶
type Module struct { AuthorHandle sql.NullString `gorm:"column:AuthorHandle"` CourseName sql.NullString `gorm:"column:CourseName"` Description sql.NullString `gorm:"column:Description"` DurationInMilliseconds sql.NullInt64 `gorm:"column:DurationInMilliseconds"` ID sql.NullInt64 `gorm:"column:Id"` ModuleIndex sql.NullInt64 `gorm:"column:ModuleIndex"` Name sql.NullString `gorm:"column:Name"` Title sql.NullString `gorm:"column:Title"` }
type ModuleTranscript ¶
type ModuleTranscript struct { ModuleID string `json:"moduleId"` ModuleTitle string `json:"moduleTitle"` ClipTranscripts []ClipTranscription `json:"clipTranscripts"` }
type Transcript ¶
type User ¶
type User struct { DeviceID sql.NullString `gorm:"column:DeviceId"` Jwt sql.NullString `gorm:"column:Jwt"` JwtExpiration sql.NullString `gorm:"column:JwtExpiration"` RefreshToken sql.NullString `gorm:"column:RefreshToken"` UserHandle sql.NullString `gorm:"column:UserHandle"` }
Click to show internal directories.
Click to hide internal directories.