package
0.0.0-20220518083256-2e7d28ad5f2e
Repository: https://github.com/diwise/ngsi-ld-golang.git
Documentation: pkg.go.dev
# Functions
CreateDateTimeProperty creates a property from a UTC time stamp.
NewMultiObjectRelationship accepts an array of object ID:s and returns a new MultiObjectRelationship.
NewNumberProperty is a convenience function for creating NumberProperty instances.
NewNumberPropertyFromInt accepts a value as an int and returns a new NumberProperty.
NewNumberPropertyFromString accepts a value as a string and returns a new NumberProperty.
NewNumberPropertyWithUnitCode is a convenience function for creating NumberProperty instances with a unit code.
No description provided by the author
NewSingleObjectRelationship accepts an object ID as a string and returns a new SingleObjectRelationship.
NewTextListProperty accepts a value as a string array and returns a new TextListProperty.
NewTextProperty accepts a value as a string and returns a new TextProperty.
# Structs
BaseEntity contains the required base properties an Entity must have.
DateTimeProperty stores date and time values (surprise, surprise ...).
MultiObjectRelationship stores information about an entity's relation to multiple objects.
NumberProperty holds a float64 Value.
Property contains the mandatory Type property.
Relationship is a base type for all types of relationships.
No description provided by the author
SingleObjectRelationship stores information about an entity's relation to a single object.
TextListProperty stores values of type text list.
TextProperty stores values of type text.