19 lines
549 B
Go
19 lines
549 B
Go
package subject
|
|
|
|
import "fmt"
|
|
|
|
func getSellerValue(val string) string {
|
|
return fmt.Sprintf("%s.%s", prefixes.Seller, val)
|
|
}
|
|
|
|
// Seller ...
|
|
var Seller = struct {
|
|
GetSellerInfoByID string
|
|
GetListSellerInfoByIDs string
|
|
GetListSellerInfoSupportChatByIDs string
|
|
}{
|
|
GetSellerInfoByID: getSellerValue("get_seller_info_by_id"),
|
|
GetListSellerInfoByIDs: getSellerValue("get_list_seller_info_by_ids"),
|
|
GetListSellerInfoSupportChatByIDs: getSellerValue("get_list_seller_info_support_chat_by_ids"),
|
|
}
|