diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..ff06189 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,20 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Launch APP", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceFolder}/main.go" + }, + { + "name": "Launch APP (Dev)", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceFolder}/main.go", + "args": [ "-dev" ] + } + ] +} diff --git a/flake.nix b/flake.nix index bde28cf..dbe0938 100644 --- a/flake.nix +++ b/flake.nix @@ -24,11 +24,15 @@ in { devShells = forAllSystems (system: pkgs: { default = pkgs.mkShell { + CGO_ENABLED = "0"; + hardeningDisable = ["all"]; + buildInputs = with pkgs; [ # Javascript tools eslint_d nodejs_22 nodePackages_latest.eslint + # Go tools go gofumpt @@ -37,6 +41,7 @@ gotools delve (templ system) + # Sqlite tools sqlite lazysql