function
Group
Group creates a nested object containing the supplied fields.
Arguments
| Argument | Type | Description |
|---|---|---|
name | string | The name value. |
children | Fields | The children value. |
Returns
The declared result.
GroupFieldFull signature
func Group(
name string,
children Fields,
) GroupFieldRelated types
FieldsFields is the ordered list assigned to ridu.Collection.Fields, ridu.Global.Fields, or a nested field constructor. Populate it with Nodes from this package's constructors. Ridu snapshots the caller-owned slice during construction, editing, and config resolution.
GroupFieldGroupField configures a nested object containing the supplied fields.