natsio/subject/news.go

14 lines
266 B
Go
Raw Normal View History

2022-09-20 03:28:35 +00:00
package subject
import "fmt"
func getNewsValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Order, val)
}
var News = struct {
GetProductNoticesByInventory string
}{
GetProductNoticesByInventory: getNewsValue("get_product_notices_by_inventory"),
}