committed by
Sacha Al Himdani
parent
288c59a5f2
commit
f9216d30b2
@@ -30,6 +30,15 @@ const (
|
||||
RiskTreatmentTransferred RiskTreatment = "TRANSFERRED"
|
||||
)
|
||||
|
||||
func RiskTreatments() []RiskTreatment {
|
||||
return []RiskTreatment{
|
||||
RiskTreatmentMitigated,
|
||||
RiskTreatmentAccepted,
|
||||
RiskTreatmentAvoided,
|
||||
RiskTreatmentTransferred,
|
||||
}
|
||||
}
|
||||
|
||||
func (rt RiskTreatment) MarshalText() ([]byte, error) {
|
||||
return []byte(rt.String()), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user