Kelli Rockwell
c2878077cb
Update Go official site links from golang.org -> go.dev ( #4871 )
2024-04-01 09:35:55 +02:00
Ricardo Islas Ruiz
16fa336a43
[go/en]: Clarify comment related to the append function in slices. ( #4780 )
2024-02-25 22:46:12 +01:00
qlikwer
1c33cd1a9a
Update go.html.markdown ( #4838 )
...
corrected an error in the number pi
2024-02-12 12:58:50 +01:00
Muhammad Rafay Nadeem
8498d0254a
Update go.html.markdown with simpler wording ( #4829 )
2024-01-26 22:29:13 +01:00
Tavis
08558182f5
Fix go math library alias ( #4702 )
...
Fix go math library alias
2023-08-25 12:13:00 +08:00
zjzj1996
fd802bfd43
fix:typo
2023-01-11 15:10:03 +08:00
richard
d07aae1b68
Update go.html.markdown
...
correcting a tiny mistake
2022-08-02 13:04:17 -04:00
Adam Chalkley
a53abc23e2
[go/en] Fix link to Golang University 301 playlist ( #4317 )
...
Co-authored-by: Adam Chalkley <atc0005@users.noreply.github.com>
2022-03-04 11:29:48 +08:00
Mayur Dave
800dad49e6
[go/en] render bullet points correctly ( #4294 )
2022-01-03 23:50:15 +08:00
Connor Morrison
ac212cb879
Update go.html.markdown ( #4284 )
2021-12-09 23:43:57 +01:00
tsasser05
5ecf1a3bba
Update documentation for expensiveComputation() ( #4269 )
...
Added comment for clarity
2021-11-27 21:21:17 +01:00
Ben Davis
09f41ab74c
Fix typo in build tag description
2020-12-03 13:16:43 -07:00
John Arundel
2643d9f2f0
Remove links/source mention
2020-02-27 11:50:39 +00:00
John Arundel
32f3ec1880
Update go.html.markdown
...
Remove link in body
2020-02-26 15:23:37 +00:00
John Arundel
e3c1b63e55
Fix playlist link
2020-02-25 18:16:47 +00:00
John Arundel
131d536f40
Add Golang University playlist links
2020-02-23 12:44:28 +00:00
Divay Prakash
e24cad5eef
Merge pull request #3849 from petrroll/patch-2
...
[go/en] Add value/reference semantics information for arr/slices.
2020-02-09 22:18:18 +05:30
Petr Houška
cd631729a8
[go/en] Add value/reference semantics information for arr/slices.
2020-02-08 23:11:33 +01:00
Petr Houška
3869472f74
[go/en] Clarify safety of local variable address taking.
2020-02-08 22:57:43 +01:00
Michael Graf
a7242df7d7
go/en: add type switch and multiple cases
2020-01-30 15:35:19 -08:00
Flo
18b7969726
add go build tags
2019-10-22 23:11:23 +01:00
Divay Prakash
ff06f9cf99
Fix defer wording, closes #2673
2018-10-09 22:59:19 +05:30
i
a78942e8f3
clear up wording
2018-07-06 11:41:46 -04:00
Ilya
c90ee7202e
[go/en] Small typo
...
Small typo in command line commad
2018-02-15 10:57:27 +07:00
Alexsander Akers
cf976f3fa7
Fix typo in Go comment
2017-08-04 15:40:52 +02:00
ven
88e1938994
fix #2700
2017-07-04 13:34:50 +02:00
gondo
801484a23b
more clear explanation for interface ( #2779 )
...
more clear explanation why interface is consider defined without specifically declaring it (like in other languages `pair implement Stringer`)
2017-07-02 14:38:55 +02:00
Leonid Shevtsov
5f9d8fe4e0
[go] added practical examples for the underscore ( #2414 )
...
* 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
2016-10-31 18:08:32 +01:00
Carl
427f87c655
Updated closure
...
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.
2016-06-04 00:26:18 -07:00
Robert Brown
4de15e41b3
correct minor grammar and formatting to improve readability
2015-10-24 13:56:20 +01:00
Romin Irani
da556f64f9
Added Go Mobile information
2015-10-14 12:03:05 +05:30
Clayton Walker
bc065831ce
Added suggested changes
2015-10-08 23:24:25 -04:00
Clayton Walker
56ec0882a4
Added more to further reading
2015-10-07 00:07:00 -04:00
Clayton Walker
6a2fe434b8
Minor Typos, increased readability
2015-10-06 23:56:55 -04:00
Samuel Marks
1faab2901e
Fallthrough
2015-04-23 00:02:33 +10:00
Samuel Marks
3bf74b3dda
Fixed grammar, added explanation of function signature and arguments
2015-04-22 23:54:16 +10:00
Kev Choi
f63032d2f2
Add default case to switch statement in Go
2015-04-20 23:26:38 -07:00
kb
5e5a7a19fe
[go] Fix no new variables on left side of :=
...
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
2014-09-22 12:11:49 +00:00
Levi Bostian
291f6f6b22
Fix "initialized" typo.
2014-09-05 21:02:38 -05:00
Levi Bostian
1fb4886020
Merge pull request #703 from jcbohin/go-en-confusing_array_initialization-#257
...
[go/en] Array initialization disambiguation - fixes #257
2014-09-05 21:01:38 -05:00
Nami-Doc
0846eaa0e7
EDOUBLEDSPACE
...
My *fake* ocd kicked in
2014-09-05 15:05:13 +02:00
Sam Zaydel
161e19baa9
Minor language change fixing mixed use of array and slice, where only slice is correct.
2014-08-19 20:43:42 -07:00
Sam Zaydel
7000db24e0
Fixed indentation error created in previous commit.
2014-08-19 20:43:42 -07:00
Sam Zaydel
a7a8c85257
In golang slices are dynamic, so a mention of append() for slice updates seems to be appropriate.
2014-08-19 20:43:42 -07:00
James Baxter
d7ead48d1f
Corrected the statement that rune is an alias for uint32 to say int32
2014-08-19 12:06:02 +01:00
Nami-Doc
e1982bf586
Merge pull request #707 from jcbohin/patch-1
...
[go/en] Adding Go playground link with code - fixes #318
2014-08-08 10:50:01 +02:00
Jean-Christophe Bohin
26166afc65
Fixed style
...
Didn't uppercased 'range' in the beginning of the sentence since it's a language keyword.
2014-08-07 22:43:59 +02:00
Jean-Christophe Bohin
c0d49cdb88
Fixing missing space and dot.
2014-08-07 22:37:52 +02:00
Jean-Christophe Bohin
a4b4a7927f
Adding a direct link to play.golang.org
2014-08-07 22:31:20 +02:00
Jean-Christophe Bohin
2ffd792932
Adding Go playground link with code - fixes #318
...
Just removed networking code, since Go playground's sandbox prevent it to work.
2014-08-05 09:03:21 +02:00