Documentation
¶
Index ¶
- func RelationshipNodeSliceToJSON(e []RelationshipNode) json.RawMessage
- func RelationshipNodeToJSON(e RelationshipNode) json.RawMessage
- func TypeSliceToJSON(in []Type) json.RawMessage
- type RelationshipNode
- func (e RelationshipNode) ArrayFieldIdentifierToType() map[string]types.FieldType
- func (e RelationshipNode) EntityIdentifier() string
- func (e RelationshipNode) FieldIdentfierToTypeMap() map[string]types.FieldType
- func (e RelationshipNode) IsDependant() bool
- func (e RelationshipNode) String() string
- func (e RelationshipNode) ToJSON() json.RawMessage
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RelationshipNodeSliceToJSON ¶
func RelationshipNodeSliceToJSON(e []RelationshipNode) json.RawMessage
func RelationshipNodeToJSON ¶
func RelationshipNodeToJSON(e RelationshipNode) json.RawMessage
func TypeSliceToJSON ¶
func TypeSliceToJSON(in []Type) json.RawMessage
Types ¶
type RelationshipNode ¶
type RelationshipNode struct { UUID uuid.UUID `json:"uuid"` Type Type `json:"type"` TypeConfig relationship_node_type_config.RelationshipNodeTypeConfig `json:"type_config"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` CreatedByUUID uuid.UUID `json:"created_by_uuid"` UpdatedByUUID uuid.UUID `json:"updated_by_uuid"` }
func NewRelationshipNodeSliceWithRandomValues ¶
func NewRelationshipNodeSliceWithRandomValues(n int) []RelationshipNode
func NewRelationshipNodeWithRandomValues ¶
func NewRelationshipNodeWithRandomValues() RelationshipNode
func RelationshipNodeFromJSON ¶
func RelationshipNodeFromJSON(data json.RawMessage) RelationshipNode
func RelationshipNodeSliceFromJSON ¶
func RelationshipNodeSliceFromJSON(data json.RawMessage) []RelationshipNode
func (RelationshipNode) ArrayFieldIdentifierToType ¶
func (e RelationshipNode) ArrayFieldIdentifierToType() map[string]types.FieldType
func (RelationshipNode) EntityIdentifier ¶
func (e RelationshipNode) EntityIdentifier() string
func (RelationshipNode) FieldIdentfierToTypeMap ¶
func (e RelationshipNode) FieldIdentfierToTypeMap() map[string]types.FieldType
func (RelationshipNode) IsDependant ¶
func (e RelationshipNode) IsDependant() bool
func (RelationshipNode) String ¶
func (e RelationshipNode) String() string
func (RelationshipNode) ToJSON ¶
func (e RelationshipNode) ToJSON() json.RawMessage
type Type ¶
type Type int64
func JSONToTypeSlice ¶
func JSONToTypeSlice(in json.RawMessage) []Type
func TypeFromPointerString ¶
func TypeFromString ¶
Click to show internal directories.
Click to hide internal directories.