Troubleshooting Go Application Development [Video]
-
Free ChapterFixing Compiler Errors
-
Concurrency
-
Dependencies
-
Go gotchas
- Zero Value for Non-Existent Map Keys
- Syntax Error: _, i := nums Used as Value
- Copy Argument Order Is Not Intuitive
- Using Break with a Select Block
- Using Range with a Slice Returns the Index as the First Argument
- Un-Exported Types Do Not Marshal to JSON
- The Map Type Is Not Thread Safe
- Unexpected Results Using Variables in Goroutine
-
Writing More Idiomatic Go
-
Never Crash in Production!
-
Interfaces in Go
-
Tips on Go’s Built-in Variable Types
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.
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.
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!
The code bundle for this video course is available at https://github.com/PacktPublishing/Troubleshooting-Go-Application-Development.
Style and Approach
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.
- Publication date:
- July 2018
- Publisher
- Packt
- Duration
- 1 hours 42 minutes
- ISBN
- 9781788997072