From 3a1a3312a7b84773183a1f4e6bd729a0fab398e9 Mon Sep 17 00:00:00 2001 From: lorenzhohermuth Date: Wed, 11 Sep 2024 16:24:59 +0200 Subject: [PATCH] hello world --- cmd/main.go | 9 +++++++++ go.mod | 3 +++ shell.nix | 5 +++++ 3 files changed, 17 insertions(+) create mode 100644 cmd/main.go create mode 100644 go.mod create mode 100644 shell.nix diff --git a/cmd/main.go b/cmd/main.go new file mode 100644 index 0000000..ccb4266 --- /dev/null +++ b/cmd/main.go @@ -0,0 +1,9 @@ +package main + +import( + "fmt" +) + +func main() { + fmt.Println("hello world") +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..f1ec5bc --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.lorenzzz.dev/LaunchDuck/runner + +go 1.22.5 diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..844fe06 --- /dev/null +++ b/shell.nix @@ -0,0 +1,5 @@ +{ pkgs ? import {} }: + pkgs.mkShell { + # nativeBuildInputs is usually what you want -- tools you need to run + nativeBuildInputs = with pkgs.buildPackages; [ go ]; +}