From 0c5002b3babff1667b1c70719f5b156fc325d705 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 30 Jan 2015 12:38:12 -0500 Subject: [PATCH] rsc: two-file program Change-Id: I071598ce7d8b9c05dee2015ebf62bcf1c188a717 Reviewed-on: https://go-review.googlesource.com/3623 Reviewed-by: Russ Cox --- rsc/greeting.go | 7 +++++++ rsc/main.go | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 rsc/greeting.go create mode 100644 rsc/main.go diff --git a/rsc/greeting.go b/rsc/greeting.go new file mode 100644 index 0000000..9863801 --- /dev/null +++ b/rsc/greeting.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func greeting() { + fmt.Println("hello, git") +} diff --git a/rsc/main.go b/rsc/main.go new file mode 100644 index 0000000..3ed81c5 --- /dev/null +++ b/rsc/main.go @@ -0,0 +1,5 @@ +package main + +func main() { + greeting() +}