natsio/subject/segment.go

15 lines
261 B
Go
Raw Normal View History

2022-11-21 22:43:02 +00:00
package subject
import "fmt"
func getSegmentValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Segment, val)
}
// Segment ...
var Segment = struct {
GetListSegmentInfo string
}{
GetListSegmentInfo: getSegmentValue("get_list_segment_info"),
}