Go Cookbook Expert Solutions for Commonly Needed Go Tasks (5th Early Release)
English | 2023 | ISBN: 9781098122102 | 375 pages | True EPUB | 1.9 MB
English | 2023 | ISBN: 9781098122102 | 375 pages | True EPUB | 1.9 MB
Go is an increasingly popular language for programming everything from web applications to distributed network services. This practical guide provides recipes to help you unravel common problems and perform useful tasks when working with Go. Each recipe includes self-contained code solutions that you can freely use, along with a discussion of how and why they work. Programmers new to Go can quickly ramp up their knowledge while accomplishing useful tasks, and experienced Go developers can save time by cutting and pasting proven code directly into their applications.
Recipes include
Creating a module
Calling code from another module
Returning and handling an error
Converting strings to numbers (or converting numbers to strings)
Modifying multiple characters in a string
Creating substrings from a string
Capturing string input
And so much more