diff --git a/src/hello-world/hello-world.go b/src/hello-world/hello-world.go index 422aa97..3761367 100644 --- a/src/hello-world/hello-world.go +++ b/src/hello-world/hello-world.go @@ -1,11 +1,11 @@ // ## Hello World -// Here's an example Go program. +// Our first program prints the classic "Hello world"` +// message. package main import "fmt" -// It prints `Hello world`. func main() { fmt.Println("Hello world") } diff --git a/src/hello-world/hello-world.sh b/src/hello-world/hello-world.sh index c6f3271..d801390 100644 --- a/src/hello-world/hello-world.sh +++ b/src/hello-world/hello-world.sh @@ -3,14 +3,8 @@ $ go run hello-world.go Hello world -# The `go run example.go` approach is a great way to -# experiment with Go examples, and we'll use it heavily -# throughout this book. - -# Sometimes we'll need to build our sample programs -# into stand-alone binaries. We can do this using -# `go build`, which will produce a binary based on the -# name of the given Go file. +# Sometimes we'll want to build our programs into +# binaries. We can do this using `go build`. $ go build hello-world.go $ ls hello-world hello-world.go diff --git a/style/site.css b/style/site.css index af73baa..402b9bc 100644 --- a/style/site.css +++ b/style/site.css @@ -69,9 +69,9 @@ div.chapter { margin-bottom: 120px; } div#intro { - width: 400px; - min-width: 400px; - max-width: 400px; + width: 380px; + min-width: 380px; + max-width: 380px; margin-left: auto; margin-right: auto; } @@ -83,9 +83,9 @@ table td { outline: 0; } td.docs { - width: 400px; - max-width: 400px; - min-width: 400px; + width: 380px; + max-width: 380px; + min-width: 380px; min-height: 5px; vertical-align: top; text-align: left; @@ -96,9 +96,9 @@ td.docs p { padding-bottom: 15px; } td.code { - width: 400px; - max-width: 400px; - min-width: 400px; + width: 410px; + max-width: 410px; + min-width: 410px; padding-top: 5px; padding-right: 5px; padding-left: 5px;