Versions in this module Expand all Collapse all v0 v0.3.1 Dec 2, 2020 Changes in this version + var Dir = filepath.Dir(os.Args[0]) + type Builder func(...Option) Seed + type NewOption = OptionFunc + type Option interface + AddTo func(Seed) + func And(o Option, more ...Option) Option + func If(condition bool, options ...Option) Option + func Mutate(f interface{}) Option + type OptionFunc func(c Seed) + func (o OptionFunc) AddTo(c Seed) + func (o OptionFunc) And(more ...Option) Option + type Options []Option + func (options Options) AddTo(c Seed) + type Seed struct + func New(options ...Option) Seed + func (c Seed) AddTo(other Seed) + func (c Seed) Children() []Seed + func (c Seed) ID() int + func (c Seed) Load(data interface{}) bool + func (c Seed) Parent() Seed + func (c Seed) Save(data interface{}) + func (c Seed) Use() + func (c Seed) Used() bool + func (c Seed) With(options ...Option) Seed + type Set struct + func NewSet(seeds ...Seed) Set + func (s *Set) Add(seeds ...Seed) + func (s *Set) Remove(c Seed) + func (s *Set) Slice() []Seed v0.3.0 Dec 2, 2020