diff options
| author | Alberto Donizetti <alb.donizetti@gmail.com> | 2018-09-29 18:09:59 +0200 |
|---|---|---|
| committer | Alberto Donizetti <alb.donizetti@gmail.com> | 2018-10-02 18:02:30 +0000 |
| commit | 099a0d9cc2550885869179752dfff56fc681295c (patch) | |
| tree | 8ebfcbcd651d484237378578a3551150fda5ea55 | |
| parent | d642b9371986f5bb2152547a0d525a57f634c3ef (diff) | |
| download | golang-id-tour-099a0d9cc2550885869179752dfff56fc681295c.tar.xz | |
content: add newline to imports.go Printf call
Fixes golang/tour#615
Change-Id: I59401792b7aeddbdbf4baadeb822827bd19835cf
Reviewed-on: https://go-review.googlesource.com/138615
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
| -rw-r--r-- | content/basics/imports.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/basics/imports.go b/content/basics/imports.go index 9854405..8424aca 100644 --- a/content/basics/imports.go +++ b/content/basics/imports.go @@ -8,5 +8,5 @@ import ( ) func main() { - fmt.Printf("Now you have %g problems.", math.Sqrt(7)) + fmt.Printf("Now you have %g problems.\n", math.Sqrt(7)) } |
