rows

package
v0.0.0-...-e95280a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Create() Builder
	WithRows(rows []Row) Builder
	Now() (Rows, error)
}

Builder represents the rows builder

func NewBuilder

func NewBuilder() Builder

NewBuilder creates a new builder instance

type Row

type Row interface {
	Resource() resources.Resource
	Elements() elements.Elements
	OnTable() tables.Table
}

Row represents a table row

type RowBuilder

type RowBuilder interface {
	Create() RowBuilder
	WithElements(elements []elements.Element) RowBuilder
	OnTable(table tables.Table) RowBuilder
	Now() (Row, error)
}

RowBuilder represents the row builder

func NewRowBuilder

func NewRowBuilder() RowBuilder

NewRowBuilder creates a new row builder instance

type Rows

type Rows interface {
	Hash() hash.Hash
	All() []Row
	IsEmpty() bool
}

Rows represents rows

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL