24 lines
		
	
	
		
			666 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			666 B
		
	
	
	
		
			Go
		
	
	
	
| package jssubject
 | |
| 
 | |
| import (
 | |
| 	"fmt"
 | |
| )
 | |
| 
 | |
| // getSellyValue ...
 | |
| func getSellyValue(val string) string {
 | |
| 	return fmt.Sprintf("%s.%s.%s", root, prefixes.Selly, val)
 | |
| }
 | |
| 
 | |
| // Selly ...
 | |
| var Selly = struct {
 | |
| 	PushNotification               string
 | |
| 	UpdateSellerAffiliateStatistic string
 | |
| 	CheckAnDInsertCashflowBySeller string
 | |
| 	SubscriberTopic                string
 | |
| }{
 | |
| 	PushNotification:               getSellyValue("push_notifications"),
 | |
| 	UpdateSellerAffiliateStatistic: getSellyValue("update_seller_affiliate_statistic"),
 | |
| 	CheckAnDInsertCashflowBySeller: getSellyValue("check_and_insert_cashflow_statistic"),
 | |
| 	SubscriberTopic:                getSellyValue("subscriber_topic"),
 | |
| }
 |