From 5ecf1a3bbafd5726e1cc90ff04db55fba42a86b9 Mon Sep 17 00:00:00 2001 From: tsasser05 <28053338+tsasser05@users.noreply.github.com> Date: Sat, 27 Nov 2021 15:21:17 -0500 Subject: Update documentation for expensiveComputation() (#4269) Added comment for clarity --- go.html.markdown | 1 + 1 file changed, 1 insertion(+) (limited to 'go.html.markdown') diff --git a/go.html.markdown b/go.html.markdown index 5a9214b0..2a3fae8e 100644 --- a/go.html.markdown +++ b/go.html.markdown @@ -190,6 +190,7 @@ func learnMemory() (p, q *int) { return &s[3], &r // & takes the address of an object. } +// Use the aliased math library (see imports, above) func expensiveComputation() float64 { return m.Exp(10) } -- cgit v1.2.3 From ac212cb879f4ed6a87898fc4692573e190cbbcf7 Mon Sep 17 00:00:00 2001 From: Connor Morrison <46800178+AllSeerEye@users.noreply.github.com> Date: Thu, 9 Dec 2021 15:43:57 -0700 Subject: Update go.html.markdown (#4284) --- go.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go.html.markdown') diff --git a/go.html.markdown b/go.html.markdown index 2a3fae8e..86b0f21b 100644 --- a/go.html.markdown +++ b/go.html.markdown @@ -179,7 +179,7 @@ func learnNamedReturns(x, y int) (z int) { // Go is fully garbage collected. It has pointers but no pointer arithmetic. // You can make a mistake with a nil pointer, but not by incrementing a pointer. -// Unlike in C/Cpp taking and returning an address of a local varible is also safe. +// Unlike in C/Cpp taking and returning an address of a local variable is also safe. func learnMemory() (p, q *int) { // Named return values p and q have type pointer to int. p = new(int) // Built-in function new allocates memory. -- cgit v1.2.3 From 800dad49e6f122a382012b0df530a729194875a3 Mon Sep 17 00:00:00 2001 From: Mayur Dave Date: Mon, 3 Jan 2022 15:50:15 +0000 Subject: [go/en] render bullet points correctly (#4294) --- go.html.markdown | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'go.html.markdown') diff --git a/go.html.markdown b/go.html.markdown index 86b0f21b..dfbfc374 100644 --- a/go.html.markdown +++ b/go.html.markdown @@ -475,8 +475,9 @@ documentation](http://golang.org/pkg/) and the source code comes up! Another great resource to learn Go is [Go by example](https://gobyexample.com/). There are many excellent conference talks and video tutorials on Go available on YouTube, and here are three playlists of the very best, tailored for beginners, intermediate, and advanced Gophers respectively: -* [Golang University 101](https://www.youtube.com/playlist?list=PLEcwzBXTPUE9V1o8mZdC9tNnRZaTgI-1P) introduces fundamental Go concepts and shows you how to use the Go tools to create and manage Go code -* [Golang University 201](https://www.youtube.com/playlist?list=PLEcwzBXTPUE_5m_JaMXmGEFgduH8EsuTs) steps it up a notch, explaining important techniques like testing, web services, and APIs -* [Golang University 301](https://www.youtube.com/watch?v=YHRO5WQGh0k&list=PLEcwzBXTPUE8KvXRFmmfPEUmKoy9LfmAf) dives into more advanced topics like the Go scheduler, implementation of maps and channels, and optimisation techniques + +- [Golang University 101](https://www.youtube.com/playlist?list=PLEcwzBXTPUE9V1o8mZdC9tNnRZaTgI-1P) introduces fundamental Go concepts and shows you how to use the Go tools to create and manage Go code +- [Golang University 201](https://www.youtube.com/playlist?list=PLEcwzBXTPUE_5m_JaMXmGEFgduH8EsuTs) steps it up a notch, explaining important techniques like testing, web services, and APIs +- [Golang University 301](https://www.youtube.com/watch?v=YHRO5WQGh0k&list=PLEcwzBXTPUE8KvXRFmmfPEUmKoy9LfmAf) dives into more advanced topics like the Go scheduler, implementation of maps and channels, and optimisation techniques Go Mobile adds support for mobile platforms (Android and iOS). You can write all-Go native mobile apps or write a library that contains bindings from a Go package, which can be invoked via Java (Android) and Objective-C (iOS). Check out the [Go Mobile page](https://github.com/golang/go/wiki/Mobile) for more information. -- cgit v1.2.3 From a53abc23e255f697bd6d127653a3f3718cbdaaca Mon Sep 17 00:00:00 2001 From: Adam Chalkley <36716992+atc0005@users.noreply.github.com> Date: Thu, 3 Mar 2022 21:29:48 -0600 Subject: [go/en] Fix link to Golang University 301 playlist (#4317) Co-authored-by: Adam Chalkley --- go.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go.html.markdown') diff --git a/go.html.markdown b/go.html.markdown index dfbfc374..39c8ac74 100644 --- a/go.html.markdown +++ b/go.html.markdown @@ -478,6 +478,6 @@ There are many excellent conference talks and video tutorials on Go available on - [Golang University 101](https://www.youtube.com/playlist?list=PLEcwzBXTPUE9V1o8mZdC9tNnRZaTgI-1P) introduces fundamental Go concepts and shows you how to use the Go tools to create and manage Go code - [Golang University 201](https://www.youtube.com/playlist?list=PLEcwzBXTPUE_5m_JaMXmGEFgduH8EsuTs) steps it up a notch, explaining important techniques like testing, web services, and APIs -- [Golang University 301](https://www.youtube.com/watch?v=YHRO5WQGh0k&list=PLEcwzBXTPUE8KvXRFmmfPEUmKoy9LfmAf) dives into more advanced topics like the Go scheduler, implementation of maps and channels, and optimisation techniques +- [Golang University 301](https://www.youtube.com/playlist?list=PLEcwzBXTPUE8KvXRFmmfPEUmKoy9LfmAf) dives into more advanced topics like the Go scheduler, implementation of maps and channels, and optimisation techniques Go Mobile adds support for mobile platforms (Android and iOS). You can write all-Go native mobile apps or write a library that contains bindings from a Go package, which can be invoked via Java (Android) and Objective-C (iOS). Check out the [Go Mobile page](https://github.com/golang/go/wiki/Mobile) for more information. -- cgit v1.2.3