diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..bbe2af5 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module template + +go 1.21.5 diff --git a/src/greet.go b/src/greet.go new file mode 100644 index 0000000..7da9fa1 --- /dev/null +++ b/src/greet.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func greet() { + fmt.Println("Hello World!") +} diff --git a/src/main.go b/src/main.go new file mode 100644 index 0000000..2cebd34 --- /dev/null +++ b/src/main.go @@ -0,0 +1,5 @@ +package main + +func main() { + greet() +}