package
Version:
v0.0.0-...-740721f
Opens a new window with list of versions in this module.
Published: Oct 11, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Cmd can be used to do a simple command based rule
Ensure simply runs Cmd's CheckCmd, then EnsureCmd
Meta is a rule that can be used to write your own rules, on the fly
NewMeta can be used to create a new Meta rule
Multi is a rule that consists of a list of rules
Check will allways return false and nil and only serves as a building block for nested rules.
Add adds a rule to Multi p
Ensure implements Ensurer
Ensure runs Check and Ensure on all rules in the lish.
Multi will stop executing and return an error if encountering an error from any Check or Ensure method.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.