Properties

Table of contents

Interface of properties map

Interface description

AllTags() []PropertyName

Returns a sorted slice of all properties

Clear()

Removes all properties from a map

Get(tag PropertyName) any

Returns a value of the property with name defined by the argument. The type of return value depends on the property. If the property is not set then nil is returned.

Remove(tag PropertyName)

Removes the property with name defined by the argument from a map

Set(tag PropertyName, value any) bool

Sets the value (second argument) of the property with name defined by the first argument. Return "true" if the value has been set, in the opposite case "false" is returned and a description of an error is written to the log