summaryrefslogtreecommitdiffhomepage
path: root/go.html.markdown
Commit message (Collapse)AuthorAgeLines
* Remove links/source mentionJohn Arundel2020-02-27-2/+2
|
* Update go.html.markdownJohn Arundel2020-02-26-1/+1
| | | Remove link in body
* Fix playlist linkJohn Arundel2020-02-25-1/+1
|
* Add Golang University playlist linksJohn Arundel2020-02-23-1/+7
|
* Merge pull request #3849 from petrroll/patch-2Divay Prakash2020-02-09-0/+10
|\ | | | | [go/en] Add value/reference semantics information for arr/slices.
| * [go/en] Add value/reference semantics information for arr/slices.Petr Houška2020-02-08-0/+10
| |
* | [go/en] Clarify safety of local variable address taking.Petr Houška2020-02-08-1/+2
|/
* go/en: add type switch and multiple casesMichael Graf2020-01-30-1/+15
|
* add go build tagsFlo2019-10-22-0/+6
|
* Fix defer wording, closes #2673Divay Prakash2018-10-09-1/+2
|
* clear up wordingi2018-07-06-6/+6
|
* [go/en] Small typoIlya2018-02-15-1/+1
| | | Small typo in command line commad
* Fix typo in Go commentAlexsander Akers2017-08-04-1/+1
|
* fix #2700ven2017-07-04-4/+4
|
* more clear explanation for interface (#2779)gondo2017-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 Shevtsov2016-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 closureCarl2016-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 readabilityRobert Brown2015-10-24-1/+2
|
* Added Go Mobile informationRomin Irani2015-10-14-0/+2
|
* Added suggested changesClayton Walker2015-10-08-2/+2
|
* Added more to further readingClayton Walker2015-10-07-0/+2
|
* Minor Typos, increased readabilityClayton Walker2015-10-06-3/+4
|
* FallthroughSamuel Marks2015-04-23-0/+4
|
* Fixed grammar, added explanation of function signature and argumentsSamuel Marks2015-04-22-2/+6
|
* Add default case to switch statement in GoKev Choi2015-04-20-0/+2
|
* [go] Fix no new variables on left side of :=kb2014-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 Bostian2014-09-05-1/+1
|
* Merge pull request #703 from jcbohin/go-en-confusing_array_initialization-#257Levi Bostian2014-09-05-1/+2
|\ | | | | [go/en] Array initialization disambiguation - fixes #257
| * Fixing missing space and dot.Jean-Christophe Bohin2014-08-07-1/+1
| |
| * Array initialization disambiguation - fixes #257Jean-Christophe Bohin2014-08-04-1/+2
| | | | | | simply added proposed comment, which seems fine
* | EDOUBLEDSPACENami-Doc2014-09-05-23/+23
| | | | | | My *fake* ocd kicked in
* | Minor language change fixing mixed use of array and slice, where only slice ↵Sam Zaydel2014-08-19-3/+3
| | | | | | | | is correct.
* | Fixed indentation error created in previous commit.Sam Zaydel2014-08-19-3/+3
| |
* | In golang slices are dynamic, so a mention of append() for slice updates ↵Sam Zaydel2014-08-19-0/+14
| | | | | | | | seems to be appropriate.
* | Corrected the statement that rune is an alias for uint32 to say int32James Baxter2014-08-19-1/+1
| |
* | Merge pull request #707 from jcbohin/patch-1Nami-Doc2014-08-08-0/+2
|\ \ | | | | | | [go/en] Adding Go playground link with code - fixes #318
| * | Adding a direct link to play.golang.orgJean-Christophe Bohin2014-08-07-1/+1
| | |
| * | Adding Go playground link with code - fixes #318Jean-Christophe Bohin2014-08-05-0/+2
| |/ | | | | Just removed networking code, since Go playground's sandbox prevent it to work.
* | Fixed styleJean-Christophe Bohin2014-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 #351Jean-Christophe Bohin2014-08-04-0/+8
|/
* fix import of io/ioutil, run gofmtHey Alexej2014-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/masterLevi Bostian2014-07-10-0/+10
|\ | | | | Function literals used inline in Go language
| * Forgot to add `=>` to comment line.Sam Zaydel2014-07-10-1/+1
| |
| * Small change to inline literal functions comments.Sam Zaydel2014-07-10-1/+2
| |
| * Go inline function literals as arguments to other functions or function ↵Sam Zaydel2014-07-09-0/+9
| | | | | | | | literals.
* | Remove duplication of function factory examplePete Hamilton2014-07-05-7/+0
| |
* | Merge pull request #663 from vvo/patch-2Levi Bostian2014-07-02-2/+16
|\ \ | | | | | | feat(webserver request): add a http.Get example
| * | feat(webserver request): add a http.Get exampleVincent Voyer2014-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 exampleVincent Voyer2014-07-02-4/+14
|/ | | previous code did not run because outside main() code was done
* Learn function decorators with GoSam Zaydel2014-06-29-2/+17
| | | | | Added snippet about using closures as function decorators in Go. Also removed a few extra whitespaces.