جزییات کتاب
Master key features of Go, including advanced concepts like concurrency and working with JSON, to create and optimize real-world services, network servers, and clientsKey FeaturesThird edition of the bestselling guide to advanced Go programming, expanded to cover RESTful servers, the WebSocket protocol, and Go genericsUse real-world exercises to build high-performance network servers and powerful command line utilitiesPacked with practical examples and utilities to apply to your own development work and administrative tasksClearly explains Go nuances and features to simplify Go developmentBook DescriptionGo 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 learnUse Go in productionWrite reliable, high-performance concurrent codeManipulate data structures including slices, arrays, maps, and pointersDevelop reusable packages with reflection and interfacesBecome familiar with generics for effective Go programmingCreate concurrent RESTful servers, and build gRPC clients and serversDefine Go structures for working with JSON dataWho this book is forThis book is for Go programmers with previous coding experience, who are familiar with the basics of the language and want to become expert Go practitioners.Table of ContentsA Quick Introduction to GoBasic Go Data TypesComposite Data TypesReflection and InterfacesGo Packages and FunctionsTelling a UNIX System What to DoGo ConcurrencyBuilding Web ServicesWorking with TCP/IP and WebSocketWorking with REST APIsCode Testing and ProfilingWorking with gRPCGo Generics Appendix