Wiley-VCH


John Wiley & Sons Go Programming Language For Dummies Cover Ready, set, program with Go! Now is the perfect time to learn the Go Programming Language. It's one.. Product #: 978-1-119-78619-1 Regular price: $28.88 $28.88 Auf Lager

Go Programming Language For Dummies

Lee, Wei-Meng

Cover

1. Auflage Juni 2021
336 Seiten, Softcover
Wiley & Sons Ltd

ISBN: 978-1-119-78619-1
John Wiley & Sons

Weitere Versionen

Ready, set, program with Go!

Now is the perfect time to learn the Go Programming Language. It's one of the most in-demand languages among tech recruiters and developers love its simplicity and power. Go Programming Language For Dummies is an easy way to add this top job skill to your toolkit. Written for novice and experienced coders alike, this book traverses basic syntax, writing functions, organizing data, building packages, and interfacing with APIs.

Go--or GoLang, as it's also known--has proven to be a strong choice for developers creating applications for the cloud-based world we live in. This book will put you on the path to using the language that's created some of today's leading web applications, so you can steer your career where you want to Go!
* Learn how Go works and start writing programs and modules
* Install and implement the most powerful third-party Go packages
* Use Go in conjunction with web services and MySQL databases
* Keep your codebase organized and use Go to structure data

With this book, you can join the growing numbers of developers using Go to create 21st century solutions. Step inside to take start writing code that puts data in users' hands.

Introduction 1

Part 1: Getting Started with Go 5

Chapter 1: Hello, Go! 7

Chapter 2: Working with Different Data Types 23

Chapter 3: Making Decisions 37

Chapter 4: Over and Over and Over: Using Loops 51

Chapter 5: Grouping Code into Functions 65

Part 2: Working with Data Structures 79

Chapter 6: Slicing and Dicing Using Arrays and Slices 81

Chapter 7: Defining the Blueprints of Your Data Using Structs 101

Chapter 8: Establishing Relationships Using Maps 113

Chapter 9: Encoding and Decoding Data Using JSON 129

Chapter 10: Defining Method Signatures Using Interfaces 151

Part 3: Multitasking in Go 163

Chapter 11: Threading Using Goroutines 165

Chapter 12: Communicating between Goroutines Using Channels 179

Part 4: Organizing Your Code 195

Chapter 13: Using and Creating Packages in Go 197

Chapter 14: Grouping Packages into Modules 211

Part 5: Seeing Go in Action 223

Chapter 15: Consuming Web APIs Using Go 225

Chapter 16: Getting Ready to Serve Using REST APIs 243

Chapter 17: Working with Databases 271

Part 6: The Part of Tens 285

Chapter 18: Ten Useful Go Packages to Create Applications 287

Chapter 19: Ten Great Go Resources 299

Index 303
Wei-Meng Lee is founder of Developer Learning Solutions, specializing in hands-on technology training. His name regularly appears in publications like DevX.com, MobiForge.com, and CODE Magazine. He is also the author of SwiftUI For Dummies, Beginning Swift Programming, Python Machine Learning, and Learning WatchKit Programming.