natsio/subject/selly.go

16 lines
371 B
Go
Raw Normal View History

2022-10-25 05:00:37 +00:00
package subject
import "fmt"
func getSellyValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Selly, val)
}
var Selly = struct {
GetFreeshipsBySupplierIds string
2022-10-27 02:37:07 +00:00
GetListWarehouseFreeship string
2022-10-25 05:00:37 +00:00
}{
GetFreeshipsBySupplierIds: getSellyValue("get_freeships_by_supplier_ids"),
2022-10-27 02:37:07 +00:00
GetListWarehouseFreeship: getSupplierValue("get_list_warehouse_freeship"),
2022-10-25 05:00:37 +00:00
}