natsio/subject/seller.go

17 lines
367 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-19 04:48:30 +00:00
GetSellerInfoByID string
GetListSellerInfoByIDs string
2022-09-15 07:09:54 +00:00
}{
2022-09-19 04:48:30 +00:00
GetSellerInfoByID: getSellerValue("get_seller_info_by_id"),
GetListSellerInfoByIDs: getSellerValue("get_list_seller_info_by_ids"),
2022-09-15 07:09:54 +00:00
}