Building the First Application with Google Go is your way into the world of software development. Go has a robust library and advanced techniques. This makes it a great language that can even be understood by people with no experience in programming.
Take a journey through the concepts presented by the Google Go language! Go is a language with no legacy, well suited for software developers, be it for beginners or experienced users.
The Google Go language presents fresh patterns of software development. You will learn about the core distinctive features of Go – goroutines and channels, which are used to design concurrent applications. You will gain familiarity with approaches of structuring application code, by breaking it into reusable components like functions, packages, and objects. Object-oriented programming; one of the central paradigms of modern software development, is also covered in this course. It offers the most popular and well-tested patterns for building brilliantly structured applications; the course finishes with creating a production-ready image manipulation program, which is built as a web application.
The course will help you to start building applications with Google Go right off the bat. Packed with examples, especially with a finished production-ready application from the final section, the course gives you the right vision of what software source code should look like.
Rostyslav Dzinko is a software architect who has been working in the software development industry for more than six years. He was one of the first developers who started working with the Go language far earlier than the first official public release of Go 1.0 took place. Rostyslav uses the Go language daily and has successfully used it in production for more than two years, building a broad range of software from high-load web applications to command-line utilities. Rostyslav has a Master’s degree in Systems Engineering and will complete a PhD thesis in a year and a half.
Getting the Go language compiler. Setting up the environment for developing and running applications.
Getting the very first application to work. It's useful to receive the first working result and understand the application structure.
Mastering the standard go tool for processing the Golang source code: compilation, formatting, testing, and documentation.
Introducing standard input and output as the simplest way for users to interact with the application.
Commenting and documenting the Go language source code in order to simplify the understanding of complex applications.
Learn ways to store data in an application's main memory while switching between changing data and constant data.
Defining variables of numeric and textual data types. Introducing the boolean data type, which is a result of common operations.
Using pointers instead of values. Learning the significance of pointers.
Using arrays and slices to store values. Avoiding a large number of variables for storing values.
Using two-dimensional slices to solve practical tasks – representing matrices. Introducing n-dimensional slices.
Using maps for practical tasks – serialization of objects and data caching.
Adding the conditional execution of code blocks to an application. Even the simplest of applications require the conditional execution of code.
Making code easier to read by replacing if-else with switch. Explaining cases when switch is better than if.
Adding repetitive task execution to the application. Explaining the significance of iterative algorithms.
Learning about the comma-ok notation and its role in code styling.
Function syntax, role of functions in code, and usage.
Usage of anonymous functions. Passing functions as values.
Structuring code into packages. Separating the application logic.
Initializing packages. Order and purpose of the package init functions.
Deferred execution of functions and initialization and cleanup of resources.
Introducing encapsulation in Go. Structure definition and usage syntax.
Adding behavior to structures with methods. Private and public fields.
Interface types as a way to glue application parts together.
Learning how concurrency and parallelism can be added to an application written in Go.
Learning how data can be synchronized in concurrent Go applications.
Learning how buffered channels can be used in concurrent Go applications.
Solving the typical problem of data collection from different sources using goroutines and channels.
Solving the typical data distribution problem of different sources using goroutines and channels.
Creating a simple web server in Go. Learning the anatomy of a typical web application.
Learning how a URL multiplexer solves a URL routing task.
Learning how to add templates to an application – the standard html / template package.
Learning how to cache templates in a web application in order to optimize performance.
Catching runtime errors. Using the panic and recover functions to keep the application stable.
Learning how to process images. Implementing the color inversion algorithm.
Learning how to load images into web applications.
Learning how to process images. Using the temporary memory storage.
Learning how to improve the design and why we must do it.
Analyzing the video course results and what the viewer should have learned.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.