]> Cypherpunks repositories - gostls13.git/commit
fmt: update formatting example for maps
authorRob Pike <r@golang.org>
Mon, 26 Nov 2018 04:58:56 +0000 (15:58 +1100)
committerRob Pike <r@golang.org>
Mon, 26 Nov 2018 05:08:44 +0000 (05:08 +0000)
commitbb3b24bffc4f50c64504c1c5f899aad0281a449a
treeb0598b16d10c025ee923807f64e812cd31506aee
parentcf2054088099ca90535f2baf6af02bb495a7439c
fmt: update formatting example for maps

Now that maps are printed in deterministic order, the map example
can have multiple keys without breaking the build.

Change-Id: Iccec0cd76a3d41c75d8d4eb768ec0ac09ad9f2ad
Reviewed-on: https://go-review.googlesource.com/c/151218
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
src/fmt/example_test.go