1017 Commits

Author SHA1 Message Date
unknown
5a1f3cbbb5 Link to Czech translation 2019-09-09 20:20:43 +02:00
unknown
a10f0a358a Resolve conflicts 2019-09-09 20:05:26 +02:00
Ross Eskridge
86499d2b27 Generate html with textual reference fix 2019-09-08 22:51:40 +02:00
Ross Eskridge
bbaa6a9b46 Fix forward reference in command line flags text
Text in command line flags referenced environment variables, moved that
to subcommands to read correctly.
2019-09-08 22:51:39 +02:00
Mark McGranaghan
e67f4257a5 Change word 2019-09-08 22:51:39 +02:00
Eli Bendersky
12b6746c23 Add printout when sending a request to play.golang.org 2019-09-08 22:51:39 +02:00
Eli Bendersky
9b9a78e2b9 Tweak logged text 2019-09-08 22:51:39 +02:00
Eli Bendersky
72e29ebf04 Do progress reporting during parsing/processing stage, not HTML render stage 2019-09-08 22:51:39 +02:00
Eli Bendersky
df65bacb40 Rewrite verbose() to work in OSX bash 2019-09-08 22:51:39 +02:00
Eli Bendersky
aefbbac19b Add verbose guard in parseExamples 2019-09-08 22:51:39 +02:00
Eli Bendersky
4f6bedc1b7 Add VERBOSE option to tools/build and generate.go
VERBOSE will be set by TRAVIS (but can also be set by user to diagnose slow
builds). Using an env var so that it automatically propagates to all the
sub-scripts and tools without having to pass it through tools/build explicitly.
2019-09-08 22:51:39 +02:00
Eli Bendersky
262c8ba50f Adjust comments in the new file paths sample 2019-09-08 22:51:39 +02:00
Eli Bendersky
980a3a0849 File Paths example 2019-09-08 22:51:38 +02:00
Eli Bendersky
b384bd9338 Reformat the travis link to render properly 2019-09-08 22:51:38 +02:00
Eli Bendersky
04a821dc7c Move the travis link / build status around 2019-09-08 22:51:38 +02:00
Eli Bendersky
5748089ebf Add Travis link to README 2019-09-08 22:51:38 +02:00
Eli Bendersky
f62963aefb Comment 2019-09-08 22:51:38 +02:00
Eli Bendersky
caa056f628 Initial Travis file for running CI
Each run invokes tools/build, which already returns a non-zero status on errors
and zero when OK.

Updates #237
2019-09-08 22:51:38 +02:00
Mark McGranaghan
65c2883a9f
Merge pull request #274 from mmcgrana/consistent-import
Make multiple imports consistent with import ( ... ) style
2019-09-06 15:28:23 -07:00
Eli Bendersky
c273588521 Make multiple imports consistent with import ( ... ) style
Fixes #272
2019-09-06 15:20:22 -07:00
Mark McGranaghan
16859f8db1
Merge pull request #271 from mmcgrana/clarify-timeout-chan
Clarify use of buffered channel in the timeouts example.
2019-09-06 07:38:59 -07:00
Mark McGranaghan
9889d7f702 This transition paragraph no longer makes sense 2019-09-06 07:38:19 -07:00
Mark McGranaghan
fe9f3ab396
Merge pull request #270 from mmcgrana/atomics-det
Deterministic example for atomics.
2019-09-06 07:29:24 -07:00
Eli Bendersky
a34c967eaf Clarify use of buffered channel in the timeouts example.
The buffered channel prevents goroutine leaks in case the
channel doesn't end up being read (as indeed happens to c1).

Updates #207
2019-09-05 13:30:16 -07:00
Eli Bendersky
b70c15adaa Clarify reading op non-atomically 2019-09-05 13:26:08 -07:00
Eli Bendersky
ef8f0e3831 Deterministic example for atomics.
Fixes #265
2019-09-05 10:50:09 -07:00
Mark McGranaghan
13b0da17de Merge branch 'tickers' 2019-09-01 16:24:40 -07:00
Mark McGranaghan
a0ac6165dd Regnerate 2019-09-01 16:20:57 -07:00
Mark McGranaghan
738d92e305
Merge pull request #211 from baileywickham/master
Added warning for capital field names in structs
2019-09-01 16:17:42 -07:00
Mark McGranaghan
fab0a1888b Rengerate 2019-09-01 16:13:55 -07:00
Eli Bendersky
c715a7efc0 Complete the example text, add .sh and generate page 2019-09-01 16:13:01 -07:00
Eli Bendersky
62bfb159ac Initial code for XML sample
Covers marshal/unmarshal of a simple un-nested type.

No .sh file yet
2019-09-01 16:13:01 -07:00
Mark McGranaghan
78e1fd61ec Clean up merge 2019-09-01 16:09:36 -07:00
Bailey Wickham
99218c520a
Update export explanation 2019-09-01 16:07:33 -07:00
Mark McGranaghan
ee5c86daa9 Merge branch 'master' into clipboard 2019-09-01 15:42:08 -07:00
Mark McGranaghan
99505c3954 Regnerate 2019-09-01 15:30:27 -07:00
Mark McGranaghan
367e5d6b75
Merge pull request #257 from PeterBocan/master
Added a constructor to structs
2019-09-01 15:24:11 -07:00
Mark McGranaghan
490c0e7599 Regenerate 2019-09-01 15:17:30 -07:00
Mark McGranaghan
3e52c1d41b
Merge pull request #260 from mmcgrana/eliben-patch-1
Update CONTRIBUTING guide to mention tools/build
2019-09-01 15:14:49 -07:00
Mark McGranaghan
a63f6904e4
Merge pull request #268 from mmcgrana/linguist
Fix up language attribution for the Github UI
2019-09-01 15:13:11 -07:00
Mark McGranaghan
d8751b33a6
Merge pull request #262 from julian-zucker/http-servers-out-typo
Fix typo in http servers example
2019-09-01 15:10:09 -07:00
Eli Bendersky
0198f3e824 Fix up language attribution for the Github UI
Currently gobyexample is flagged as a CSS repository because of all the
generated HTML.

Following instructions at https://github.com/github/linguist#vendored-code to
ask Github to ignore files that are not actual origin code.
2019-08-24 06:28:01 -07:00
Julian Zucker
482bd86963 Fix typo in http servers example 2019-07-24 18:27:04 -06:00
Eli Bendersky
2862b97d01
Update CONTRIBUTING.md 2019-07-12 06:14:47 -07:00
Mark McGranaghan
fe361d879b Merge branch 'arrow-keys' 2019-07-08 19:06:46 -07:00
Mark McGranaghan
53a1b7a107 Regenerate 2019-07-08 19:04:48 -07:00
Shivam Rathore
1943fe0803 arrow keys navigation added | fixes mmcgrana/gobyexample#222 2019-07-08 19:04:14 -07:00
Mark McGranaghan
ff7d5ba117 Merge branch 'buildtestchanges' 2019-07-08 18:46:15 -07:00
PeterBocan
c22f42f03c Remove extra whitespace 2019-07-02 16:30:42 +02:00
PeterBocan
615d5e2eb4 Struct allocation fixes. 2019-07-02 15:46:54 +02:00