Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyString ¶
func SelectStructFields ¶
func SelectStructFields(n interface{}, fieldParam string) interface{}
select only a few fields instead of the whole struct this will optimize mobile app performance if on slow networks
Types ¶
type DiasporaPosts ¶
type DiasporaPosts []diasporaPost
func (*DiasporaPosts) Cast ¶
func (dPosts *DiasporaPosts) Cast(posts models.Posts)
Click to show internal directories.
Click to hide internal directories.