22 Commits

Author SHA1 Message Date
Eli Bendersky
146bd9cce2 Add examples of maps/slices packages 2023-08-22 05:52:14 -07:00
Eli Bendersky
d51586e6bf Add example of the new clear() builtin for maps in 1.21
updates #481

Also bump go.mod to 1.21
2023-08-21 06:15:47 -07:00
Eli Bendersky
0812429584 Clarify zero value for map values when keys don't exist 2023-03-20 05:59:53 -07:00
Andreas Deininger
da13e2fbe7
Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
Oleg Butuzov
646c8b39da bugfix (mmcgrana/gobyexample#294) sha1 sum calculator
This bugfix implements correct way to calculate source sha1 hash, before it will changed,
by propagation of unchanged sources.

This commit will also include regenerated static files and *.hash files.
2019-10-22 14:27:02 +03:00
Eli Bendersky
7c160440be Use tabs as the canonical source indentation in git
Space conversion is done during generation only. Fixes #192
2019-06-04 07:30:58 -07:00
Mark McGranaghan
d351883ab8 Fix whitespace and build 2019-05-31 12:06:44 -07:00
Go101
8656320237
update for Go 1.12 2019-02-26 12:29:27 -04:00
Mark McGranaghan
4797db6592 Rebuild for style fixes 2018-02-01 17:54:35 -05:00
oohira
8dcf72d27d Replace Println with fmt.Println 2017-01-14 00:35:16 +09:00
Mark McGranaghan
7f27da9e7a Add missing word 2015-01-10 14:55:49 -08:00
Veronica Ray
ed962417b7 Response to PR feedback 2015-01-07 22:03:41 -08:00
Mark McGranaghan
afdf0cc2b4 add trailing newlines 2013-10-06 08:50:23 -07:00
Mark McGranaghan
e77dcdddd4 missing some generated files 2013-09-11 09:01:11 -07:00
Nicolas Kaiser
d4c1a81a03 Fix misspelled "indicates" 2012-11-23 16:41:40 +01:00
Mark McGranaghan
dbe040a03e tweak 2012-10-10 22:04:54 -07:00
Mark McGranaghan
caf7192bbe tweak 2012-10-10 22:03:54 -07:00
Mark McGranaghan
4549dbcaca show inline map initialization 2012-10-10 21:53:51 -07:00
Mark McGranaghan
c852c887d7 publish arrays 2012-10-10 21:53:47 -07:00
Mark McGranaghan
5ae0f570cd period 2012-10-10 12:41:04 -07:00
Mark McGranaghan
0e16b3c8a6 maps 2012-10-10 12:37:57 -07:00
Mark McGranaghan
8daa226a48 lean into examples 2012-10-09 21:02:12 -07:00