func (fd *factoidDriver) RegisterPlugins(pm base.PluginManager) { // pm == fd in this case, but meh. pm.AddPlugin(&FactoidPlugin{fd, fd_identifiers}) }
func (qd *quoteDriver) RegisterPlugins(pm base.PluginManager) { pm.AddPlugin(&QuotePlugin{qd, qd_plugin_lookup}) }
func (dd *decisionDriver) RegisterPlugins(pm base.PluginManager) { pm.AddPlugin(&DecisionPlugin{dd, dd_rand}) pm.AddPlugin(&DecisionPlugin{dd, dd_decider}) }