Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | 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 |
|/ | ||||
* | Merge pull request #300 from JensRantil/parentheses-fix | Adam Bard | 2013-09-04 | -1/+1 |
|\ | | | | | parens => parentheses | |||
| * | parens => parentheses | Jens Rantil | 2013-09-04 | -1/+1 |
| | | ||||
* | | Merge pull request #305 from mrshu/master | Adam Bard | 2013-09-04 | -1/+1 |
|\ \ | | | | | | | chan chan string -> channel of string channels | |||
| * | | chan chan string -> channel of string channels | Marek Šuppa | 2013-09-04 | -1/+1 |
| |/ | ||||
* | | Merge pull request #307 from NKCSS/master | Adam Bard | 2013-09-04 | -2/+2 |
|\ \ | | | | | | | Changed Print function to show the variable type | |||
| * | | Changed Print function to show the variable type | NKCSS | 2013-09-04 | -2/+2 |
| |/ | | | | | | | | | This is to follow the way the string value is presented, and the format string is written (... is a ... infers a stype specification) | |||
* / | Corrected comment: utf-8 → unicode | Harry Jeffery | 2013-09-04 | -1/+1 |
|/ | | | 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. | |||
* | Piddly things | Adam | 2013-08-13 | -177/+177 |
| | ||||
* | slashed comments | Sonia Keys | 2013-08-13 | -160/+38 |
| | ||||
* | Go first draft | Sonia Keys | 2013-08-13 | -0/+423 |