From 8b31325272ef99c73f76b5c8cc30acc3b8379c45 Mon Sep 17 00:00:00 2001 From: Michael OBrien Date: Sat, 27 Jul 2024 23:31:19 -0400 Subject: [PATCH] #1 - initial go code --- src/go.mod | 10 ++++++++++ src/hello.go | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 src/go.mod create mode 100644 src/hello.go diff --git a/src/go.mod b/src/go.mod new file mode 100644 index 0000000..e6170af --- /dev/null +++ b/src/go.mod @@ -0,0 +1,10 @@ +module hello + +go 1.22.5 + +require rsc.io/quote v1.5.2 + +require ( + golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c // indirect + rsc.io/sampler v1.3.0 // indirect +) diff --git a/src/hello.go b/src/hello.go new file mode 100644 index 0000000..4ed980b --- /dev/null +++ b/src/hello.go @@ -0,0 +1,9 @@ +package main + +import "fmt" +import "rsc.io/quote" + +func main() { + fmt.Println("Hello, World!") + fmt.Println(quote.Go()) +}