Commit Graph

77 Commits

Author SHA1 Message Date
Pete Hamilton
4c34096703 Remove duplication of function factory example 2014-07-05 12:03:09 +01:00
Levi Bostian
09459a25fe Merge pull request #663 from vvo/patch-2
feat(webserver request): add a http.Get example
2014-07-02 08:57:54 -05:00
Vincent Voyer
f2e3d99476 feat(webserver request): add a http.Get example
1. script now exits
2. we initiate a request to the started server to prove the serverHTTP works

what do you think?
2014-07-02 14:55:33 +02:00
Vincent Voyer
74c0a49e6d fix(go func factory): fix func factory example
previous code did not run because outside main() code was done
2014-07-02 14:37:15 +02:00
Sam Zaydel
8b6920a70a Learn function decorators with Go
Added snippet about using closures as function decorators in Go. Also
removed a few extra whitespaces.
2014-06-29 08:12:58 -07:00
Sam Zaydel
e881ba74f3 Hopefully slight language improvement over orig. 2014-06-23 07:31:39 -07:00
Sam Zaydel
9448404709 Slight language change per pull req. comment 2014-06-22 20:49:29 -07:00
Sam Zaydel
ff49deb886 Fixed on to in in comment. 2014-06-22 06:21:21 -07:00
Sam Zaydel
e5d8895c8e Should have more detail about named return values.
There was not a section about named return values, and it feels like it is a valuable and important enough thing to learn early on. If nothing else, when looking at someone else's code this may be a point of confusion.
2014-06-22 06:20:12 -07:00
Jose Donizetti
163d97c162 [go/en] add range index explication, and new learn source 2014-05-11 16:33:08 -04:00
Qumeric
07b229a425 Fix Go tutorial, especially ru translation 2014-04-16 18:06:58 +04:00
Quint Guvernator
ded11e254f added defer example
decided not to use file i/o as an example because external file access
is rare in other tutorials.
2014-02-02 15:11:15 -05:00
Jesse Johnson
2655b4d056 [go/en] Fix veriadic function bug; format and clarify comments. 2014-01-30 18:50:05 -05:00
C. Bess
863194a89a - add variadic function example 2014-01-24 15:30:15 -06:00
Adam
6172fee1a4 Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs 2013-09-08 21:52:54 -07:00
Adam
a933d419e0 Some fixes 2013-09-08 21:52:47 -07:00
Matthew Wyatt
febe5f4994 Added links to source and package documentation.
Also reformatted line lengths to accommdate links.
2013-09-04 20:46:45 -07:00
Adam Bard
bf15cd5aa4 Merge pull request #300 from JensRantil/parentheses-fix
parens => parentheses
2013-09-04 09:27:11 -07:00
Adam Bard
7694dddf06 Merge pull request #305 from mrshu/master
chan chan string -> channel of string channels
2013-09-04 09:07:42 -07:00
Adam Bard
a9880277b2 Merge pull request #307 from NKCSS/master
Changed Print function to show the variable type
2013-09-04 09:06:37 -07:00
Harry Jeffery
078f6bbc9d Corrected comment: utf-8 → unicode
Runes hold the raw unicode code point, not utf-8. Storing utf-8 inside of a uint32 would be highly inefficient. Runes are essentially utf-32.
2013-09-04 13:39:02 +01:00
NKCSS
284f1ea407 Changed Print function to show the variable type
This is to follow the way the string value is presented, and the format
string is written (... is a ... infers a stype specification)
2013-09-04 11:52:57 +02:00
Marek Šuppa
abb903caba chan chan string -> channel of string channels 2013-09-04 11:30:50 +02:00
Jens Rantil
dde956286a parens => parentheses 2013-09-04 09:37:26 +02:00
Adam
4d705abd99 Piddly things 2013-08-13 19:59:19 -07:00
Sonia Keys
a73d5c83c1 slashed comments 2013-08-13 17:12:54 -04:00
Sonia Keys
de6069d3d6 Go first draft 2013-08-13 13:52:13 -04:00