Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-05-26 14:44:03 +02:00
commit 3da2f5898c
18 changed files with 720 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
{
pkgs,
gitHooksLib,
}: let
hooks = gitHooksLib.run {
src = ../.;
hooks = {
gofmt.enable = true;
govet.enable = true;
};
};
in
pkgs.mkShell {
packages = with pkgs;
[
go
doctoc
]
++ hooks.enabledPackages;
shellHook = hooks.shellHook;
}