@ -0,0 +1 @@
use nix
@ -0,0 +1,3 @@
module ElnuDev/go-project
go 1.20
@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
{ pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
buildInputs = with pkgs; [
go
];