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
|
2023-03-01 07:40:34 +00:00
|
|
|
CreateRequestStep string
|
2023-01-09 08:56:46 +00:00
|
|
|
ProcessApplyRequest string
|
2022-12-26 07:08:14 +00:00
|
|
|
}{
|
2023-01-09 08:56:46 +00:00
|
|
|
ApplyRequest: getProductValue("apply_request"),
|
2023-03-01 07:40:34 +00:00
|
|
|
CreateRequestStep: getProductValue("create_request_step"),
|
2023-01-09 08:56:46 +00:00
|
|
|
ProcessApplyRequest: getProductValue("process_apply_request"),
|
2022-12-26 07:08:14 +00:00
|
|
|
}
|