Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Properties ¶
type Properties struct {
Properties []Property
}
type Property ¶
type Property struct { Id ReadOnlyId `json:"id" gorm:"primaryKey"` Application string `json:"application" gorm:"index"` Profile string `json:"profile" gorm:"index"` Label string `json:"label" gorm:"index"` Key string `json:"key"` Value interface{} `json:"value"` }
func (*Property) MarshalBinary ¶
MarshalBinary encodes the struct into a binary blob
func (*Property) UnmarshalBinary ¶
UnmarshalBinary decodes the struct into a Property
type ReadOnlyId ¶
type ReadOnlyId uint64
func (ReadOnlyId) UnmarshalJSON ¶
func (ReadOnlyId) UnmarshalJSON([]byte) error
UnmarshalJSON ignores the field value completely when reading.
Click to show internal directories.
Click to hide internal directories.