RegisterCustomConstraint allows to register custom constraint.
(constraint CustomConstraint)
| 853 | |
| 854 | // RegisterCustomConstraint allows to register custom constraint. |
| 855 | func (app *App) RegisterCustomConstraint(constraint CustomConstraint) { |
| 856 | app.customConstraints = append(app.customConstraints, constraint) |
| 857 | } |
| 858 | |
| 859 | // RegisterCustomBinder Allows to register custom binders to use as Bind().Custom("name"). |
| 860 | // They should be compatible with CustomBinder interface. |
no outgoing calls