Название: Go Fundamentals: Gopher Guides (Final) Автор: Mark Bates, Cory LaNou Издательство: Addison-Wesley Professional/Pearson Education Год: 2023 Страниц: 579 Язык: английский Формат: pdf (true), epub (true) Размер: 10.1 MB, 56.4 MB
Start Writing Production-Ready Go Code Fast--No Go Experience Necessary!
Thousands of developers and teams want to start taking advantage of Go, the powerful language used in projects ranging from Kubernetes to Docker and Vault. Go Fundamentals is specifically designed to get you up-to-speed fast, to leverage your existing knowledge of other languages, and to help you avoid common mistakes made by Go newcomers.
Based on author Mark Bates's and Cory LaNou's pioneering Gopher Guides training curricula, this guide will allow you to quickly understand and use Go syntax, core features, and idioms. Reflecting Go through version 1.18--which includes Go's exciting new support for generics--this guide prepares you to write robust, reliable, well-performing production code right from the outset.
The Go compiler is another reason why Go has become so popular. The speed of the compiler is a huge factor in the development of Go. Fast compilation times mean a faster feedback cycle for developers. Large Go applications can be compiled in seconds. Small Go applications, when using go run, compile and execute so quickly that it makes Go feel like a scripting language. This fast compilation and execution time extends to the running of tests as well. It is not uncommon for a Go developer to run the entire test suite every time they save a file. This is not something that can be done with other languages.
The Go compiler, the language’s type system, and its fast compiler mean that a lot of common bugs are very quickly caught. This is a great advantage for Go developers. We are able to focus on business logic, knowing that the compiler will catch any stupid mistakes we might make, such as using a variable before it is defined or forgetting to use the range keyword in a loop.
Learn how Go manages packages, modules, and dependencies Apply Go basics, such as variable declaration, types, and control flow Work effectively with collection types, iteration, functions, structs, and pointers Understand Go Slices and use them properly Write idiomatic Go, using principles such as embedding and interfaces Expertly use concurrency to improve code performance Create proper tests to quickly identify and fix problems Write simpler, better code with generics and parameterized types Take advantage of channels, context, templates, and other advanced features
Go is lightweight, simple, and perfect for modern cloud-native and microservices development, which is why Go developers are in such high demand. With this guide and six months' experience with any modern programming language, you'll have what you need to leap into Go programming.
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.