natsio/subject/product.go

17 lines
355 B
Go
Raw Normal View History

2022-12-26 07:08:14 +00:00
package subject
import "fmt"
// getSegmentValue ...
func getProductValue(val string) string {
return fmt.Sprintf("%s.%s", prefixes.Product, val)
}
var Product = struct {
2023-01-09 08:56:46 +00:00
ApplyRequest string
ProcessApplyRequest string
2022-12-26 07:08:14 +00:00
}{
2023-01-09 08:56:46 +00:00
ApplyRequest: getProductValue("apply_request"),
ProcessApplyRequest: getProductValue("process_apply_request"),
2022-12-26 07:08:14 +00:00
}