package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Nov 22, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package fields provides a set of types and functions for working with fields.
Dict is a dictionary of unique fields.
Add adds fields to a Dict overwriting existing keys.
String returns a string representation of a Dict in the
`({key}={value}, {key}={value})` format.
WriteTo writes a string representation of a Dict to a given builder in the
`({key}={value}, {key}={value})` format.
Field is a generic key-value pair container.
F is a shorthand for creating a new Field.
String returns a string representation of a Field in the `{key}={value}`
format.
WriteTo writes a string representation of a Field to a given builder in the
`{key}={value}`.
List is list of fields in order of insertion.
Add adds fields to a List, modifying it.
String returns a string representation of a List in the
`({key}={value}, {key}={value})` format.
ToDict converts a List to a Dict overwriting existing keys.
WriteTo writes a string representation of a List to a given builder in the
`({key}={value}, {key}={value})` format.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.