Documentation ¶ Index ¶ Variables type Checker func New() *Checker func (v *Checker) Validate(e dag.Event) error Constants ¶ This section is empty. Variables ¶ View Source var ( ErrNoParents = errors.New("event has no parents") ErrNotInited = errors.New("event field is not initialized") ErrHugeValue = errors.New("too big value") ErrDoubleParents = errors.New("event has double parents") ) Functions ¶ This section is empty. Types ¶ type Checker ¶ type Checker struct{} func New ¶ func New() *Checker New validator which performs checks which don't require anything except event func (*Checker) Validate ¶ func (v *Checker) Validate(e dag.Event) error Validate event Source Files ¶ View all Source files basic_check.go Click to show internal directories. Click to hide internal directories.