[ No Description ]



 



RM 83.00

Key FeaturesGet insightful coverage of Go programming syntax, constructs, and idioms to help you understand Go codeGet a full explanation of all the known GoF design patterns in Go, including comprehensive theory and examplesLearn to apply the nuances of the Go language, and get to know the open source community that surrounds it to implement a wide range of start-up quality projectsBook DescriptionThe Go programming language has firmly established itself as a favorite for building complex and scalable system applications. Go offers a direct and practical approach to programming that lets programmers write correct and predictable code using concurrency idioms and a full-featured standard library. This practical guide is full of real-world examples to help you get started with Go in no time at all.Youll start by understanding the fundamentals of Go, then get a detailed description of the Go data types, program structures, and Maps. After that, youll learn how to use Go concurrency idioms to avoid pitfalls and create programs that are exact in expected behavior. Next, you will get familiar with the tools and libraries that are available in Go to write and exercise tests, benchmarking, and code coverage. After that, you will be able to utilize some of the most important features of GO such as Network Programming and OS integration to build efficient applications. Then youll start applying your skills to build some amazing projects in Go. You will learn to develop high-quality command-line tools that utilize the powerful shell capabilities and perform well using Gos built-in concurrency mechanisms. Scale, performance, and high availability lie at the heart of our projects, and the lessons learned throughout the sections will arm you with everything you need to build world-class solutions. You will get a feel for app deployment using Docker and Google App Engine. Each project could form the basis of a start-up, which means they are directly applicable to modern software markets. With these skills in hand, you will be able to conquer all your fears of application development and go on to build large, robust and succinct apps in Go. This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:Learning Go ProgrammingGo Design PatternsGo Programming Blueprints, Second EditionWhat you will learnInstall and configure the Go development environment to quickly get started with your first programUse the basic elements of the language including source code structure, variables, constants, and control flow primitivesGet to know all the basic syntax and tools you need to start coding in GoCreate unique instances that cannot be duplicated within a programBuild quirky and fun projects from scratch while exploring patterns, practices, and techniques, as well as a range of different technologiesCreate websites and data services capable of massive scaling using Gos net/http package,Explore RESTful patterns as well as low-latency WebSocket APIsInteract with a variety of remote web services to consume capabilities, ranging from authentication and authorization to a fully functioning thesaurusAbout the AuthorVladimir Vivien (@vladimirvivien) is a software engineer living in the United States. He is a previously published author and has written code in languages such as Java, JavaScript, Python, and C to name a few. Vladimir has work in diverse industries including technology, publishing, financial, and healthcare. After years of building enterprise systems using Java, Vladimir came to Go for its simplicity and stayed for its concurrency and fast build time. Vladimir continues to use Go as his primary language to build and create open source software ( https://github.com/vladimirivivien).Mario Castro Contreras is a software engineer who has specialized in distributed systems and big data solutions. He works as a site reliability engineer, and now he is focused on containerized solutions and apps using most of Google Cloud suite, especially Kubernetes. He has broad experience in systems and solutions integration, and he has written many scalable and reliable 12-factor apps using Go and Docker. He has designed Big Data architectures for financial services and media, and he has written data processing pipelines using event-driven architectures written purely in Go.He is also very active in the open source community, and you can find him on his GitHub account with the username sayden. In the past, he has also written mobile applications and back ends in Java. Mario is passionate about programming languages, and he found the best balance between fun and productivity in Go; however, recently he has enjoyed writing in Rust and embedded systems in C. He is also passionate about road cycling and winter sports.Mat Ryer has been programming computers since he was 6 years old; he and his father would build games and programs, first in BASIC on a ZX Spectrum and then in AmigaBASIC and AMOS on Commodore Amiga. Many hours were spent on manually copying the code from Amiga Format magazine and tweaking variables or moving GOTO statements around to see what might happen.The same spirit of exploration and obsession with programming led Mat to start work with a local agency in Mansfield, England, when he was 18, where he started to build websites and services. In 2006, Mat left rural Nottinghamshire for London, where he took a job at BT. It was here that he worked with a talented group of developers and managers on honing his agile development skills and developing the light flavor that he still uses today.After being contracted around London for a few years, coding everything from C# and Objective-C to Ruby and JavaScript, Mat noticed a new systems language called Go that Google was pioneering. Since it addressed very pertinent and relevant modern technical challenges, Mat started using it to solve problems while the language was still in the beta stage and he has used it ever since.In 2012, Mat moved to Boulder, Colorado, where he worked on a variety of projects, from big data web services and highly available systems to small side projects and charitable endeavors. He returned home, to London, in 2015 after the company he was working in was sold. Mat, to this day, continues to use Go to build a variety of products, services, and open-source projects. He writes articles about Go on his blog at matryer.com and tweets about Go with the handle @matryer. Mat is a regular speaker at Go conferences around the world and encourages people to come up and introduce themselves if their paths ever cross.Table of ContentsA First Step in GoGo Language EssentialsGo Control FlowData TypesFunctions in GoGo Packages and ProgramsComposite TypesMethods, Interfaces, and ObjectsConcurrencyData IO in GoWriting Networked ServicesCode TestingReady... Steady... Go!Creational Patterns - Singleton, Builder, Factory, Prototype, and Abstract Factory Design PatternsStructural Patterns - Composite, Adapter, and Bridge Design PatternsStructural Patterns - Proxy, Facade, Decorator, and Flyweight Design PatternsBehavioral Patterns - Strategy, Chain of Responsibility, and Command Design PatternsBehavioral Patterns - Template, Memento, and Interpreter Design PatternsBehavioral Patterns - Visitor, State, Mediator, and Observer Design PatternsIntroduction to Gos ConcurrencyConcurrency Patterns - Barrier, Future, and Pipeline Design PatternsConcurrency Patterns - Workers Pool and Publish/Subscriber Design PatternsChat Application with Web SocketsAdding User AccountsThree Ways to Implement Profile PicturesCommand-Line Tools to Find Domain NamesBuilding Distributed Systems and Working with Flexible DataExposing Data and Functionality through a RESTful Data Web Service APIRandom Recommendations Web ServiceFilesystem BackupBuilding a Q&A Application for Google App EngineMicro-services in Go with the Go kit FrameworkDeploying Go Applications Using DockerGood Practices for a Stable Go Environment
view book