function

Group

Group creates a nested object containing the supplied fields.

Arguments

ArgumentTypeDescription
namestringThe name value.
childrenFieldsThe children value.

Returns

The declared result.

GroupField

Full signature

func Group( name string, children Fields, ) GroupField

Source field/fluent.go:1858

Related types

  • Fields

    Fields 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.

  • GroupField

    GroupField configures a nested object containing the supplied fields.

Related guides