Properties

Table of contents

Interface of properties map

Interface description

AllTags() []string

Returns a sorted slice of all properties

Clear()

Removes all properties from a map

Get(tag string) 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 string)

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

Set(tag string, 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