From 67c7a30b0f282494c740ef54a608172f70ebb8dd Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Thu, 20 Sep 2012 20:22:28 -0700 Subject: [PATCH] trimming --- src/{01-hello.go => 01-hello-world.go} | 6 +----- src/02-values.go | 7 +------ src/05-variables.go | 2 -- 3 files changed, 2 insertions(+), 13 deletions(-) rename src/{01-hello.go => 01-hello-world.go} (57%) diff --git a/src/01-hello.go b/src/01-hello-world.go similarity index 57% rename from src/01-hello.go rename to src/01-hello-world.go index f8b0f93..8b668bb 100644 --- a/src/01-hello.go +++ b/src/01-hello-world.go @@ -1,8 +1,4 @@ - // Hello World - - // Here's an example Go program. - -package main +package main // Here's an example Go program. import "fmt" diff --git a/src/02-values.go b/src/02-values.go index 48cbeb8..b0ee686 100644 --- a/src/02-values.go +++ b/src/02-values.go @@ -1,10 +1,5 @@ - // Vaules - - // Go has various value types, including strings, +package main // Go has various value types, including strings, // different types of numbers, booleans, etc. - -package main - import "fmt" func main() { diff --git a/src/05-variables.go b/src/05-variables.go index caa74fb..1389a9a 100644 --- a/src/05-variables.go +++ b/src/05-variables.go @@ -1,5 +1,3 @@ - // Variables - package main import "fmt"