Documentation ¶
Index ¶
Constants ¶
View Source
const ( UIDPropertyName PropertyName = "UID" CommentPropertyName = "COMMENT" OrganizerPropertyName = "ORGANIZER" AttendeePropertyName = "ATTENDEE" ExceptionDateTimesPropertyName = "EXDATE" RecurrenceDateTimesPropertyName = "RDATE" RecurrenceRulePropertyName = "RRULE" LocationPropertyName = "LOCATION" )
View Source
const ( CanonicalNameParameterName ParameterName = "CN" TimeZoneIdPropertyName = "TZID" ValuePropertyName = "VALUE" AlternateRepresentationName = "ALTREP" )
Variables ¶
This section is empty.
Functions ¶
func MarshalProperty ¶
Types ¶
type CanDecodeParams ¶
type CanDecodeValue ¶
type CanEncodeName ¶
type CanEncodeName interface {
EncodeICalName() (PropertyName, error)
}
type CanEncodeParams ¶
type CanEncodeTag ¶
type CanEncodeValue ¶
type CanValidateValue ¶
type CanValidateValue interface {
ValidateICalValue() error
}
type ParameterName ¶
type ParameterName string
type Params ¶
type Params map[ParameterName]string
type Property ¶
type Property struct { Name PropertyName Value, DefaultValue string Params Params OmitEmpty, Required bool }
func NewProperty ¶
func PropertyFromInterface ¶
func PropertyFromStructField ¶
func PropertyFromStructField(fs reflect.StructField) (p *Property)
func UnmarshalProperty ¶
func (*Property) HasNameAndValue ¶
type PropertyName ¶
type PropertyName string
func (PropertyName) Equals ¶
func (p PropertyName) Equals(test string) bool
Click to show internal directories.
Click to hide internal directories.