Go Programming Cookbook
Chapter 1: Setting up and Exploring Go
Chapter 2: Advanced Go Features and Techniques
Chapter 3: File Handling and Data Processing in Go
Chapter 4: Building and Managing Go APIs
Chapter 5: Implementing RPC and gRPC Services in Go
Chapter 6: Web Services and Automation Using Go
Chapter 7: Building Microservices Architecture Using Go
Chapter 8: Strengthening Database Interactions
Chapter 9: Enhancing Performance and Best Practices in Go
Chapter 10: Networking and Protocol Handling
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.
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