Book Image

Troubleshooting Go Application Development [Video]

By : Shawn Milochik
Book Image

Troubleshooting Go Application Development [Video]

By: Shawn Milochik

Overview of this book

<p>Go is a powerful, general-purpose language that is exceptional for writing anything from servers to command-line utilities. Meant to replace languages such as Java and C++, its performance and accessibility have found an eager audience in developers from compiled and interpreted languages alike.</p> <p>Much of Go's power comes from its simplicity. Although a high-level language, it doesn't have much in the way of bells and whistles. Newcomers from all languages tend to trip over the same design decisions that are less common among other languages.</p> <p>In this course, you will learn to effortlessly surmount these hurdles and become more productive quickly, writing fast, stable code and, hopefully, having more fun coding than ever before!</p> <p>The code bundle for this video course is available at&nbsp;<a href="https://github.com/PacktPublishing/Troubleshooting-Go-Application-Development." target="_blank">https://github.com/PacktPublishing/Troubleshooting-Go-Application-Development.</a></p> <h1>Style and Approach</h1> <p>In this course, we will demonstrate problems a developer will run into when attempting to write, compile, and run their Go programs. This includes language gotchas, common beginner mistakes, an incorrectly set up development environment, and issues running your code on other people's machines.</p>
Table of Contents (8 chapters)
Chapter 2
Concurrency
Content Locked
Section 3
Variable Used by a Deferred Function
In this video, you’ll learn about the variable used by deferred function. - Use a function-scoped variable in a deferred function call - Prove that the value is not as expected - Show how to fix using a pointer