natsio/js/subject/selly.go

20 lines
387 B
Go
Raw Normal View History

2022-09-23 04:17:03 +00:00
package jssubject
import (
"fmt"
)
// getSellyValue ...
func getSellyValue(val string) string {
return fmt.Sprintf("%s.%s.%s", root, prefixes.Selly, val)
}
// Selly ...
var Selly = struct {
2022-09-23 15:11:24 +00:00
PushNotification string
UpdateSellerStatistic string
2022-09-23 04:17:03 +00:00
}{
2022-09-23 15:11:24 +00:00
PushNotification: getSellyValue("push_notifications"),
UpdateSellerStatistic: getSellyValue("update_seller_statistic"),
2022-09-23 04:17:03 +00:00
}