Rename hook module to hooks

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2024-08-31 22:20:35 +02:00 committed by pep
parent b281cf8b44
commit 2f101c617c
4 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
use crate::hook::{format_hook, Hook};
use crate::hooks::{format_hook, Hook};
use log::debug;
use xmpp::jid::{BareJid, Jid};

View file

@ -19,13 +19,13 @@
mod bot;
mod config;
mod error;
mod hook;
mod hooks;
mod web;
use crate::bot::XmppClient;
use crate::config::Config;
use crate::error::Error;
use crate::hook::Hook;
use crate::hooks::Hook;
use crate::web::hooks;
use std::sync::{Arc, Mutex};

View file

@ -14,7 +14,7 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
use crate::error::Error;
use crate::hook::{ForgejoHook, GitlabHook, Hook};
use crate::hooks::{ForgejoHook, GitlabHook, Hook};
use std::convert::Infallible;
use std::io::Read;