Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegularFont ¶
Types ¶
type Comment ¶
func GenerateComment ¶
func GenerateComment() *Comment
type CommentsView ¶
func NewCommentsView ¶
func NewCommentsView() *CommentsView
type Post ¶
type Post struct { Id int64 // UserId int64 UserName string UserImageURL string Location string ImageURL string LikeCount int // CommentIds []int64 Comments []*Comment Liked bool Bookmarked bool }
func GeneratePost ¶
func GeneratePost() *Post
type PostButtonsView ¶
type PostButtonsView struct { view.Embed LikeCount int Liked bool Bookmarked bool OnTouchLike func(bool) OnTouchComment func() OnTouchBookmark func(bool) }
func NewPostButtonsView ¶
func NewPostButtonsView() *PostButtonsView
type PostHeaderView ¶
func NewPostHeaderView ¶
func NewPostHeaderView() *PostHeaderView
type PostImageView ¶
type PostImageView struct { view.Embed ImageURL string OnDoubleTouch func() // contains filtered or unexported fields }
func NewPostImageView ¶
func NewPostImageView() *PostImageView
type PostView ¶
func NewPostView ¶
type RootView ¶
func NewRootView ¶
Click to show internal directories.
Click to hide internal directories.