mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-30 09:45:32 +00:00
entwurf kennzeichnen
This commit is contained in:
@@ -13,6 +13,14 @@ const (
|
||||
False
|
||||
)
|
||||
|
||||
func (b OptionalBool) IsTrue() bool {
|
||||
return b == True
|
||||
}
|
||||
|
||||
func (b OptionalBool) IsFalse() bool {
|
||||
return b == False || b == Unspecified
|
||||
}
|
||||
|
||||
func (b *OptionalBool) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
|
||||
var attr struct {
|
||||
Value string `xml:"value,attr"`
|
||||
|
||||
Reference in New Issue
Block a user