list

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...seed.Option) seed.Seed

New returns a new list with the given options.

func Set

func Set(items ...seed.Seed) seed.Option

Set sets the list's items to the given seed slice.

Types

type Option

type Option func(c seed.Seed, items *[]seed.Seed)

Option allows the list to be modified by an options.

func (Option) AddTo

func (o Option) AddTo(c seed.Seed)

AddTo implements seed.Option

Jump to

Keyboard shortcuts

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