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"