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 5
Writing More Idiomatic Go
Content Locked
Section 3
Using Backticks for String Literals to Avoid Excessive Quoting
In this video, you’ll use backticks for string literals to avoid excessive quoting. - Demonstrate problems when using quotation marks in strings - Show a workaround with escaping - Show a better solution using string literals