20 lines
341 B
Go
20 lines
341 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 {
|
||
|
Stream string
|
||
|
PushNotification string
|
||
|
}{
|
||
|
Stream: prefixes.Selly,
|
||
|
PushNotification: getSellyValue("push_notifications"),
|
||
|
}
|