function

Blocks

Blocks creates an ordered list of rows chosen from the supplied block types.

Arguments

ArgumentTypeDescription
namestringThe name value.
blocks[]BlockThe blocks value.

Returns

The declared result.

BlocksField

Full signature

func Blocks( name string, blocks ...Block, ) BlocksField

Source field/fluent.go:2094

Related types

  • Block

    Block is one discriminated layout allowed by a blocks field.

  • BlocksField

    BlocksField configures an ordered list of rows chosen from the supplied block types.

Related guides