natsio/subject/social_post.go

18 lines
484 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 10:21:37 +00:00
GetListSocialPostAppInfoByIDs string
GetBriefInfoSocialPostAdminByIDs string
2022-11-14 07:45:26 +00:00
}{
2022-11-16 10:21:37 +00:00
GetListSocialPostAppInfoByIDs: getSocialPostValue("get_list_social_post_app_info_by_ids"),
GetBriefInfoSocialPostAdminByIDs: getSocialPostValue("get_brief_info_social_post_admin_by_ids"),
2022-11-14 07:45:26 +00:00
}