dto

package
v0.0.0-...-da86336 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

func ChannelToModel(c *db_sqlc.Channel) *model.Channel

ChannelToModel converts db_sqlc.Channel to model.Channel

func ChannelsToModel

func ChannelsToModel(cs []db_sqlc.Channel) model.Channels

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

func CreatorToModel(c *db_sqlc.Creator) *model.Creator

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

func VideoToModel(v *db_sqlc.Video) *model.Video

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL