sesamy-go/pkg/encoding/mpv2/consent.go
Kevin Franklin Kim 615b57f387
feat: add consent
2024-11-20 09:30:12 +01:00

16 lines
211 B
Go

package mpv2
type Consent string
const (
ConsentDenied Consent = "DENIED"
ConsentGranted Consent = "GRANTED"
)
func ConsentText(v bool) Consent {
if v {
return ConsentGranted
}
return ConsentDenied
}