aboutsummaryrefslogtreecommitdiff
path: root/templates/go/main.go
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-12-19 08:57:04 -0800
committerFranck Cuny <franck@fcuny.net>2023-12-19 08:58:54 -0800
commitb59565bf7460b1a487e8e4d9b92834e3fdeed418 (patch)
tree4d3c0d3d31f885dd0ab671a4b3029d7ace449065 /templates/go/main.go
parentchore: update flake (diff)
downloadinfra-b59565bf7460b1a487e8e4d9b92834e3fdeed418.tar.gz
add goreleaser to go template
Diffstat (limited to '')
-rw-r--r--templates/go/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/go/main.go b/templates/go/main.go
index 7776ec8..b5b1c7a 100644
--- a/templates/go/main.go
+++ b/templates/go/main.go
@@ -2,6 +2,10 @@ package main
import "fmt"
+var (
+ Version, BuildDate string
+)
+
func main() {
fmt.Println("hello world!")
}