natsio/subject/seller.go

24 lines
531 B
Go
Raw Permalink Normal View History

2022-09-15 07:09:54 +00:00
package subject
import "fmt"
func getSellerValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Seller, val)
}
// Seller ...
var Seller = struct {
2022-09-22 06:49:11 +00:00
GetSellerInfoByID string
GetListSellerInfoByIDs string
}{
GetSellerInfoByID: getSellerValue("get_seller_info_by_id"),
GetListSellerInfoByIDs: getSellerValue("get_list_seller_info_by_ids"),
}
// SupportChat ...
var SupportChat = struct {
2022-09-21 03:19:17 +00:00
GetListSellerInfoSupportChatByIDs string
2022-09-15 07:09:54 +00:00
}{
2022-09-22 06:49:11 +00:00
GetListSellerInfoSupportChatByIDs: "SELLY_CHAT.REQUEST.SELLER_INFO",
2022-09-15 07:09:54 +00:00
}