Versions in this module Expand all Collapse all v0 v0.1.11 Oct 17, 2024 v0.1.10 Oct 15, 2024 v0.1.9 Oct 15, 2024 v0.1.8 Oct 13, 2024 v0.1.7 Oct 13, 2024 v0.1.6 Oct 10, 2024 Changes in this version type Video + func (v *Video) ToPB() *v1.Video v0.1.4 Oct 6, 2024 v0.1.3 Oct 6, 2024 v0.1.1 Oct 1, 2024 v0.1.0 Oct 1, 2024 Changes in this version + type Author struct + Avatar string + ID int64 + IsFollowing int64 + Name string + func ToAuthorEntity(author *model.User) *Author + func (a *Author) ToPBAuthor() *v1.Author + type User struct + AccountID int64 + Avatar string + BackgroundImage string + Email string + ID int64 + Mobile string + Name string + Signature string + func FromUserModel(user *model.User) *User + func (u *User) ToUserModel() *model.User + func (u *User) ToUserResp() *v1.User + type Video struct + Author *Author + CommentCount int64 + CoverURL string + Description string + ID int64 + IsFavorite int64 + LikeCount int64 + Title string + UploadTime time.Time + VideoURL string + func FromVideoModel(video *model.Video) *Video + func FromVideoModelList(videos []*model.Video) []*Video + func (v *Video) ToVideoModel() *model.Video