natsio/subject/social_post.go

18 lines
494 B
Go
Raw Normal View History

2022-11-14 07:45:26 +00:00
package subject
import "fmt"
// getSocialPostValue ...
func getSocialPostValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.SocialPost, val)
}
// SocialPost ...
var SocialPost = struct {
2022-11-16 09:38:41 +00:00
GetListSocialPostAppInfoByIDs string
GetBriefDetailSocialPostAdminByIDs string
2022-11-14 07:45:26 +00:00
}{
2022-11-16 09:38:41 +00:00
GetListSocialPostAppInfoByIDs: getSocialPostValue("get_list_social_post_app_info_by_ids"),
GetBriefDetailSocialPostAdminByIDs: getSocialPostValue("get_brief_detail_social_post_admin_by_ids"),
2022-11-14 07:45:26 +00:00
}