From a83b2f7fa5eaf106cdf51adf9ff541a95e094012 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Tue, 19 Nov 2024 17:14:58 +1100 Subject: [PATCH] templates: add go files to go template --- outputs/templates/go/src/go.mod | 3 +++ outputs/templates/go/src/main.go | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 outputs/templates/go/src/go.mod create mode 100644 outputs/templates/go/src/main.go diff --git a/outputs/templates/go/src/go.mod b/outputs/templates/go/src/go.mod new file mode 100644 index 0000000..37ae5b3 --- /dev/null +++ b/outputs/templates/go/src/go.mod @@ -0,0 +1,3 @@ +module hello + +go 1.23.2 diff --git a/outputs/templates/go/src/main.go b/outputs/templates/go/src/main.go new file mode 100644 index 0000000..b0ab032 --- /dev/null +++ b/outputs/templates/go/src/main.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("Hello World!") +}