Go Cookbook
by
Publisher - Packt Publishing
Category - Engineering & IT
Key FeaturesDiscover a number of recipes and approaches to develop modern back-end applicationsPut to use the best practices to combine the recipes for sophisticated parallel toolsThis book is based on Go 1.8, which is the latest versionBook DescriptionGo (a.k.a. Golang) is a statically-typed programming language first developed at Google. It is derived from C with additional features such as garbage collection, type safety, dynamic-typing capabilities, additional built-in types, and a large standard library.This book takes off where basic tutorials on the language leave off. You can immediately put into practice some of the more advanced concepts and libraries offered by the language while avoiding some of the common mistakes for new Go developers.The book covers basic type and error handling. It explores applications that interact with users, such as websites, command-line tools, or via the file system. It demonstrates how to handle advanced topics such as parallelism, distributed systems, and performance tuning. Lastly, it finishes with reactive and serverless programming in Go.What you will learnTest your application using advanced testing methodologiesDevelop an awareness of application structures, interface design, and toolingCreate strategies for third-party packages, dependencies, and vendoringGet to know tricks on treating data such as collectionsHandle errors and cleanly pass them along to calling functionsWrap dependencies in interfaces for ease of portability and testingExplore reactive programming design patterns in GoAbout the AuthorAaron Torres received his masters of science degree in computer science from New Mexico Institute of Mining and Technology. He has worked on distributed systems in high performance computing and in large-scale web and microservices applications. He currently leads a team of Go developers that refines and focuses on Go best practices with an emphasis on continuous delivery and automated testing.Aaron has published a number of papers and has several patents in the area of storage and I/O. He is passionate about sharing his knowledge and ideas with others. He is also a huge fan of the Go language and open source for backend systems and development.Table of ContentsI/O and File SystemsCommand Line ToolsData Conversion and CompositionError Handling in GoAll about Databases and StorageWeb Clients and APIsMicroservices for applications in GoTestingParallelism and ConcurrencyDistributed SystemsReactive Programming and Data StreamsServerless ProgrammingPerformance Improvements, Tips, and Tricks
Please login to borrow the book.
Preview