Mastering Go: Harness the power of Go to build professional utilities and concurrent servers and services,3rd Edition 3rd ed. Edition
by: Mihalis Tsoukalos(Author)
Publisher finelybook 出版社: Packt Publishing; 3rd ed. edition (August 31,2021)
Language 语言: English
Print Length 页数: 682 pages
ISBN-10: 1801079315
ISBN-13: 9781801079310
Book Description
Master key features of Go,including advanced concepts like concurrency and working with JSON,to create and optimize real-world services,network servers,and clients
Key Features
Third edition of the bestselling guide to advanced Go programming,expanded to cover RESTful servers,the WebSocket protocol,and Go generics
Use real-world exercises to build high-performance network servers and powerful command line utilities
Packed with practical examples and utilities to apply to your own development work and administrative tasks
Clearly explains Go nuances and features to simplify Go development
Go is the language of the future for high-performance systems due to its simplicity and clear principles. Mastering Go shows you how to put Go to work on real production systems. This new edition has been updated to include topics like creating RESTful servers and clients,understanding Go generics,and developing gRPC servers and clients.
Mastering Go,Third Edition explores the capabilities of Go in practice. You will become confident with advanced concepts,including concurrency and the operation of the Go Garbage Collector,using Go with Docker,writing powerful command-line utilities,working with JavaScript Object Notation (JSON) data,and interacting with databases. You will also improve your understanding of Go internals to optimize Go code and use data types and data structures in new and unexpected ways.
This Go programming book also covers the nuances and idioms of Go with exercises and resources to fully embed your newly acquired knowledge. Become an expert Go programmer by: building Go systems and implementing advanced Go techniques in your projects.
What you will learn
Use Go in production
Write reliable,high-performance concurrent code
Manipulate data structures including slices,arrays,maps,and pointers
Develop reusable packages with reflection and interfaces
Become familiar with generics for effective Go programming
Create concurrent RESTful servers,and build gRPC clients and servers
Define Go structures for working with JSON data
Table of Contents
Chapter 1: A Quick Introduction to Go
Chapter 2: Basic Go Data Types
Chapter 3: Composite Data Types
Chapter 4: Reflection and Interfaces
Chapter 5: Go Packages and Functions
Chapter 6: Telling a UNIX System What to Do
Chapter 7: Go Concurrency
Chapter 8: Building Web Services
Chapter 9: Working with TCP/IP and WebSocket
Chapter 10: Working with REST APIs
Chapter 11: Code Testing and Profiling
Chapter 12: Working with gRPC
Chapter 13: Go Generics
Appendix A: Go Garbage Collector