mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 20:08:02 +00:00
9892fd92b6
* refactor: drop unused code * refactor: drop unused code
16 lines
254 B
Go
16 lines
254 B
Go
package domain
|
|
|
|
type PolicyState int32
|
|
|
|
const (
|
|
PolicyStateUnspecified PolicyState = iota
|
|
PolicyStateActive
|
|
PolicyStateRemoved
|
|
|
|
policyStateCount
|
|
)
|
|
|
|
func (s PolicyState) Exists() bool {
|
|
return s != PolicyStateUnspecified && s != PolicyStateRemoved
|
|
}
|