Documentation ¶
Index ¶
- func ChannelModelToCreateChannelParams(m *model.Channel) db_sqlc.CreateChannelParams
- func ChannelModelToUpdateChannelParams(m *model.Channel) db_sqlc.UpdateChannelParams
- func ChannelModelsToCreateChannelParams(m model.Channels) []db_sqlc.CreateChannelParams
- func ChannelToModel(c *db_sqlc.Channel) *model.Channel
- func ChannelsToModel(cs []db_sqlc.Channel) model.Channels
- func CreatorModelToCreateCreatorParams(m *model.Creator) db_sqlc.CreateCreatorParams
- func CreatorModelsToCreateCreatorParams(m model.Creators) []db_sqlc.CreateCreatorParams
- func CreatorToModel(c *db_sqlc.Creator) *model.Creator
- func CreatorsWithChannelsRowToModel(c *db_sqlc.GetCreatorsWithChannelsRow, creator *model.Creator)
- func CreatorsWithChannelsRowsToModel(cs []db_sqlc.GetCreatorsWithChannelsRow) model.Creators
- func GetVideosByPlatformsWithStatusRowToModel(v *db_sqlc.GetVideosByPlatformsWithStatusRow) *model.Video
- func GetVideosByTimeRangeRowToModel(v *db_sqlc.GetVideosByTimeRangeRow) *model.Video
- func GetVideosByTimeRangeRowsToModel(vs []db_sqlc.GetVideosByTimeRangeRow) model.Videos
- func VideoModelToCreateVideoParams(m *model.Video) db_sqlc.CreateVideoParams
- func VideoModelsToCreateStreamStatusParams(m model.Videos) []db_sqlc.CreateStreamStatusParams
- func VideoModelsToCreateVideoParams(m model.Videos) []db_sqlc.CreateVideoParams
- func VideoToModel(v *db_sqlc.Video) *model.Video
- func VideosByIDsRowsToModel(vs []db_sqlc.GetVideosByIDsRow) model.Videos
- func VideosByParamsRowsToModel(vs []db_sqlc.GetVideosByPlatformsWithStatusRow) model.Videos
- func VideosByTimeRangeRowsToModel(vs []db_sqlc.GetVideosByTimeRangeRow) model.Videos
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChannelModelToCreateChannelParams ¶
func ChannelModelToCreateChannelParams(m *model.Channel) db_sqlc.CreateChannelParams
ChannelModelToCreateChannelParams converts model.Channel to db_sqlc.CreateChannelParams
func ChannelModelToUpdateChannelParams ¶
func ChannelModelToUpdateChannelParams(m *model.Channel) db_sqlc.UpdateChannelParams
ChannelModelToUpdateChannelParams converts model.Channel to db_sqlc.UpdateChannelParams
func ChannelModelsToCreateChannelParams ¶
func ChannelModelsToCreateChannelParams(m model.Channels) []db_sqlc.CreateChannelParams
ChannelModelsToCreateChannelParams converts model.Channels to []db_sqlc.CreateChannelParams
func ChannelToModel ¶
ChannelToModel converts db_sqlc.Channel to model.Channel
func ChannelsToModel ¶
ChannelsToModel converts []db_sqlc.Channel to model.Channels
func CreatorModelToCreateCreatorParams ¶
func CreatorModelToCreateCreatorParams(m *model.Creator) db_sqlc.CreateCreatorParams
CreatorModelToCreateCreatorParams converts model.Creator to db_sqlc.CreateCreatorParams
func CreatorModelsToCreateCreatorParams ¶
func CreatorModelsToCreateCreatorParams(m model.Creators) []db_sqlc.CreateCreatorParams
CreatorModelsToCreateCreatorParams converts model.Creators to []db_sqlc.CreateCreatorParams
func CreatorToModel ¶
CreatorToModel converts db_sqlc.Creator to model.Creator
func CreatorsWithChannelsRowToModel ¶
func CreatorsWithChannelsRowToModel(c *db_sqlc.GetCreatorsWithChannelsRow, creator *model.Creator)
CreatorsWithChannelsRowToModel converts db_sqlc.GetCreatorsWithChannelsRow to model.Creator
func CreatorsWithChannelsRowsToModel ¶
func CreatorsWithChannelsRowsToModel(cs []db_sqlc.GetCreatorsWithChannelsRow) model.Creators
CreatorsWithChannelsRowsToModel converts []db_sqlc.GetCreatorsWithChannelsRow to model.Creators
func GetVideosByPlatformsWithStatusRowToModel ¶
func GetVideosByPlatformsWithStatusRowToModel(v *db_sqlc.GetVideosByPlatformsWithStatusRow) *model.Video
GetVideosByPlatformsWithStatusRowToModel converts db_sqlc.GetVideosByPlatformsWithStatusRow to model.Video
func GetVideosByTimeRangeRowToModel ¶
func GetVideosByTimeRangeRowToModel(v *db_sqlc.GetVideosByTimeRangeRow) *model.Video
func GetVideosByTimeRangeRowsToModel ¶
func GetVideosByTimeRangeRowsToModel(vs []db_sqlc.GetVideosByTimeRangeRow) model.Videos
func VideoModelToCreateVideoParams ¶
func VideoModelToCreateVideoParams(m *model.Video) db_sqlc.CreateVideoParams
VideoModelToCreateVideoParams converts model.Video to db_sqlc.CreateVideoParams
func VideoModelsToCreateStreamStatusParams ¶
func VideoModelsToCreateStreamStatusParams(m model.Videos) []db_sqlc.CreateStreamStatusParams
VideoModelsToCreateStreamStatusParams converts model.Videos to []db_sqlc.CreateStreamStatusParams
func VideoModelsToCreateVideoParams ¶
func VideoModelsToCreateVideoParams(m model.Videos) []db_sqlc.CreateVideoParams
VideoModelsToCreateVideoParams converts model.Videos to []db_sqlc.CreateVideoParams
func VideoToModel ¶
VideoToModel converts db_sqlc.Video to model.Video
func VideosByIDsRowsToModel ¶
func VideosByIDsRowsToModel(vs []db_sqlc.GetVideosByIDsRow) model.Videos
VideosByIDsRowsToModel converts []db_sqlc.GetVideosByIDsRow to model.Videos
func VideosByParamsRowsToModel ¶
func VideosByParamsRowsToModel(vs []db_sqlc.GetVideosByPlatformsWithStatusRow) model.Videos
VideosByParamsRowsToModel converts []db_sqlc.GetVideosByParamsRow to model.Videos
func VideosByTimeRangeRowsToModel ¶
func VideosByTimeRangeRowsToModel(vs []db_sqlc.GetVideosByTimeRangeRow) model.Videos
Types ¶
This section is empty.