Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Fix typo in Go comment | Alexsander Akers | 2017-08-04 | -1/+1 |
| | ||||
* | fix #2700 | ven | 2017-07-04 | -4/+4 |
| | ||||
* | more clear explanation for interface (#2779) | gondo | 2017-07-02 | -1/+1 |
| | | | more clear explanation why interface is consider defined without specifically declaring it (like in other languages `pair implement Stringer`) | |||
* | [go] added practical examples for the underscore (#2414) | Leonid Shevtsov | 2016-10-31 | -0/+14 |
| | | | | | | | | | | * go: added practical examples for the underscore * Example of using underscore to discard the error * Example of using underscore to loop over values of a slice * Incidentally, example of writing to a file * go: Adjust justification for ignoring error value | |||
* | Updated closure | Carl | 2016-06-04 | -1/+2 |
| | | | Corrected closure example that referenced assigning x to e^10, which does not happen in this iteration. Set x to a value large enough to make the comments hold true. | |||
* | correct minor grammar and formatting to improve readability | Robert Brown | 2015-10-24 | -1/+2 |
| | ||||
* | Added Go Mobile information | Romin Irani | 2015-10-14 | -0/+2 |
| | ||||
* | Added suggested changes | Clayton Walker | 2015-10-08 | -2/+2 |
| | ||||
* | Added more to further reading | Clayton Walker | 2015-10-07 | -0/+2 |
| | ||||
* | Minor Typos, increased readability | Clayton Walker | 2015-10-06 | -3/+4 |
| | ||||
* | Fallthrough | Samuel Marks | 2015-04-23 | -0/+4 |
| | ||||
* | Fixed grammar, added explanation of function signature and arguments | Samuel Marks | 2015-04-22 | -2/+6 |
| | ||||
* | Add default case to switch statement in Go | Kev Choi | 2015-04-20 | -0/+2 |
| | ||||
* | [go] Fix no new variables on left side of := | kb | 2014-09-22 | -2/+2 |
| | | | | | | | | | | Cannot short declaration twice without at least one new var. Also changing type from string to slice. $ go run learnxiny.go # command-line-arguments ./learnxiny.go:83: no new variables on left side of := ./learnxiny.go:83: cannot use []int literal (type []int) as type string in assignment ./learnxiny.go:84: first argument to append must be slice; have string ./learnxiny.go:90: first argument to append must be slice; have string | |||
* | Fix "initialized" typo. | Levi Bostian | 2014-09-05 | -1/+1 |
| | ||||
* | Merge pull request #703 from jcbohin/go-en-confusing_array_initialization-#257 | Levi Bostian | 2014-09-05 | -1/+2 |
|\ | | | | | [go/en] Array initialization disambiguation - fixes #257 | |||
| * | Fixing missing space and dot. | Jean-Christophe Bohin | 2014-08-07 | -1/+1 |
| | | ||||
| * | Array initialization disambiguation - fixes #257 | Jean-Christophe Bohin | 2014-08-04 | -1/+2 |
| | | | | | | simply added proposed comment, which seems fine | |||
* | | EDOUBLEDSPACE | Nami-Doc | 2014-09-05 | -23/+23 |
| | | | | | | My *fake* ocd kicked in | |||
* | | Minor language change fixing mixed use of array and slice, where only slice ↵ | Sam Zaydel | 2014-08-19 | -3/+3 |
| | | | | | | | | is correct. | |||
* | | Fixed indentation error created in previous commit. | Sam Zaydel | 2014-08-19 | -3/+3 |
| | | ||||
* | | In golang slices are dynamic, so a mention of append() for slice updates ↵ | Sam Zaydel | 2014-08-19 | -0/+14 |
| | | | | | | | | seems to be appropriate. | |||
* | | Corrected the statement that rune is an alias for uint32 to say int32 | James Baxter | 2014-08-19 | -1/+1 |
| | | ||||
* | | Merge pull request #707 from jcbohin/patch-1 | Nami-Doc | 2014-08-08 | -0/+2 |
|\ \ | | | | | | | [go/en] Adding Go playground link with code - fixes #318 | |||
| * | | Adding a direct link to play.golang.org | Jean-Christophe Bohin | 2014-08-07 | -1/+1 |
| | | | ||||
| * | | Adding Go playground link with code - fixes #318 | Jean-Christophe Bohin | 2014-08-05 | -0/+2 |
| |/ | | | | | Just removed networking code, since Go playground's sandbox prevent it to work. | |||
* | | Fixed style | Jean-Christophe Bohin | 2014-08-07 | -2/+2 |
| | | | | | | Didn't uppercased 'range' in the beginning of the sentence since it's a language keyword. | |||
* | | [go/en] add an example for range - fixes #351 | Jean-Christophe Bohin | 2014-08-04 | -0/+8 |
|/ | ||||
* | fix import of io/ioutil, run gofmt | Hey Alexej | 2014-07-16 | -224/+225 |
| | | | | | | generated/downloaded file doesn't work with "go run". it's missing ioutil. ran gofmt which uses tabs (width=8) for formatting. longest line is 85 characters now. removed whitespace. | |||
* | Merge pull request #671 from szaydel/master | Levi Bostian | 2014-07-10 | -0/+10 |
|\ | | | | | Function literals used inline in Go language | |||
| * | Forgot to add `=>` to comment line. | Sam Zaydel | 2014-07-10 | -1/+1 |
| | | ||||
| * | Small change to inline literal functions comments. | Sam Zaydel | 2014-07-10 | -1/+2 |
| | | ||||
| * | Go inline function literals as arguments to other functions or function ↵ | Sam Zaydel | 2014-07-09 | -0/+9 |
| | | | | | | | | literals. | |||
* | | Remove duplication of function factory example | Pete Hamilton | 2014-07-05 | -7/+0 |
| | | ||||
* | | Merge pull request #663 from vvo/patch-2 | Levi Bostian | 2014-07-02 | -2/+16 |
|\ \ | | | | | | | feat(webserver request): add a http.Get example | |||
| * | | feat(webserver request): add a http.Get example | Vincent Voyer | 2014-07-02 | -2/+16 |
| |/ | | | | | | | | | | | 1. script now exits 2. we initiate a request to the started server to prove the serverHTTP works what do you think? | |||
* / | fix(go func factory): fix func factory example | Vincent Voyer | 2014-07-02 | -4/+14 |
|/ | | | previous code did not run because outside main() code was done | |||
* | Learn function decorators with Go | Sam Zaydel | 2014-06-29 | -2/+17 |
| | | | | | Added snippet about using closures as function decorators in Go. Also removed a few extra whitespaces. | |||
* | Hopefully slight language improvement over orig. | Sam Zaydel | 2014-06-23 | -3/+3 |
| | ||||
* | Slight language change per pull req. comment | Sam Zaydel | 2014-06-22 | -3/+3 |
| | ||||
* | Fixed `on` to `in` in comment. | Sam Zaydel | 2014-06-22 | -1/+1 |
| | ||||
* | Should have more detail about named return values. | Sam Zaydel | 2014-06-22 | -0/+10 |
| | | | 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. | |||
* | [go/en] add range index explication, and new learn source | Jose Donizetti | 2014-05-11 | -0/+3 |
| | ||||
* | Fix Go tutorial, especially ru translation | Qumeric | 2014-04-16 | -9/+7 |
| | ||||
* | added defer example | Quint Guvernator | 2014-02-02 | -0/+13 |
| | | | | | decided not to use file i/o as an example because external file access is rare in other tutorials. | |||
* | [go/en] Fix veriadic function bug; format and clarify comments. | Jesse Johnson | 2014-01-30 | -71/+75 |
| | ||||
* | - add variadic function example | C. Bess | 2014-01-24 | -1/+15 |
| | ||||
* | Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs | Adam | 2013-09-08 | -4/+5 |
|\ | ||||
| * | Added links to source and package documentation. | Matthew Wyatt | 2013-09-04 | -4/+5 |
| | | | | | | | | Also reformatted line lengths to accommdate links. | |||
* | | Some fixes | Adam | 2013-09-08 | -1/+1 |
|/ |