commit 1e9da0190a3b16d5d250f4298010d0e8fee8b3c5 Author: ElnuDev Date: Fri Jul 14 21:39:46 2023 -0700 Initial commit diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..be80b31 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module ElnuDev/go-project + +go 1.20 diff --git a/main.go b/main.go new file mode 100644 index 0000000..a3dd973 --- /dev/null +++ b/main.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("Hello, World!") +} diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..3bb54a7 --- /dev/null +++ b/shell.nix @@ -0,0 +1,7 @@ +{ pkgs ? import {}}: + +pkgs.mkShell { + buildInputs = with pkgs; [ + go + ]; +}