rest of the split migration

This commit is contained in:
Danilo Reyes
2026-03-16 16:41:10 -06:00
parent 195c55891e
commit 9c6f17f113
44 changed files with 859 additions and 483 deletions

25
modules/dev/go/common.nix Normal file
View File

@@ -0,0 +1,25 @@
{ pkgs }:
let
packages = builtins.attrValues {
inherit (pkgs)
go
gocode-gomod
gotools
gore
gotests
gomodifytags
golangci-lint
;
};
GOPATH = "\${XDG_DATA_HOME:-\$HOME/.local/share}/go";
in
{
inherit packages GOPATH;
devShell = pkgs.mkShell {
inherit packages GOPATH;
name = "go-dev-shell";
shellHook = ''
echo "🐹 Go dev environment"
'';
};
}