Building Your First Application with Go

Get practical experience and learn basic skills while developing an application with Google Go
3.8 (11 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
228 students enrolled
$19
$85
78% off
Take This Course
  • Lectures 40
  • Length 3 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 12/2014 English

Course Description

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.

About the Author

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.

What are the requirements?

  • This course assumes that you have some basic knowledge of computer science.
  • Each video covers a whole feature of the language. It begins with a small amount of theory and ends with a working example, which you can run yourself.

What am I going to get from this course?

  • Find where to get the Go compiler and how to use supplied tools
  • Explore basic and complex data types and how Go manages main memory
  • Learn about the code execution control structure
  • Organize source code into reusable parts with functions and packages
  • Get to grips with the principles of object-oriented development and the specifics of their implementation in Google Go
  • Understand how concurrent applications work and how goroutines help you to easily implement concurrency
  • Schedule goroutines with a runtime scheduler
  • Build well-designed applications from the ground up

What is the target audience?

  • If you are a student or would like to dive into the world of software development using the Go language, then this video course is ideal for you.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: First Application
04:34

Getting the Go language compiler. Setting up the environment for developing and running applications.

04:40

Getting the very first application to work. It's useful to receive the first working result and understand the application structure.

04:54

Mastering the standard go tool for processing the Golang source code: compilation, formatting, testing, and documentation.

05:00

Introducing standard input and output as the simplest way for users to interact with the application.

04:11

Commenting and documenting the Go language source code in order to simplify the understanding of complex applications.

Section 2: Basic and Complex Data Types
06:28

Learn ways to store data in an application's main memory while switching between changing data and constant data.

05:37

Defining variables of numeric and textual data types. Introducing the boolean data type, which is a result of common operations.

03:53

Using pointers instead of values. Learning the significance of pointers.

06:35

Using arrays and slices to store values. Avoiding a large number of variables for storing values.

02:49

Using two-dimensional slices to solve practical tasks – representing matrices. Introducing n-dimensional slices.

04:30

Using maps for practical tasks – serialization of objects and data caching.

Section 3: Control Structures
05:08

Adding the conditional execution of code blocks to an application. Even the simplest of applications require the conditional execution of code.

04:25

Making code easier to read by replacing if-else with switch. Explaining cases when switch is better than if.

06:19

Adding repetitive task execution to the application. Explaining the significance of iterative algorithms.

03:21

Learning error processing and error generation in Go.

02:47

Learning about the comma-ok notation and its role in code styling.

Section 4: Structuring Code with Functions and Packages
06:51

Function syntax, role of functions in code, and usage.

04:53

Usage of anonymous functions. Passing functions as values.

05:11

Structuring code into packages. Separating the application logic.

03:16

Initializing packages. Order and purpose of the package init functions.

04:45

Deferred execution of functions and initialization and cleanup of resources.

Section 5: Object-oriented Programming in Go
06:26

Introducing encapsulation in Go. Structure definition and usage syntax.

04:08

Adding behavior to structures with methods. Private and public fields.

04:35

Interface types as a way to glue application parts together.

02:34

Using the universal interface to pass any kind of data to a function.

Section 6: Goroutines and Channels
06:52

Learning how concurrency and parallelism can be added to an application written in Go.

04:26

Learning how data can be synchronized in concurrent Go applications.

04:42

Learning how buffered channels can be used in concurrent Go applications.

03:06

Solving the typical problem of data collection from different sources using goroutines and channels.

02:37

Solving the typical data distribution problem of different sources using goroutines and channels.

Section 7: Building a Web Image Manipulation Program (WIMP), Part I – Web Application
03:35

Creating a simple web server in Go. Learning the anatomy of a typical web application.

03:45

Learning how a URL multiplexer solves a URL routing task.

03:34

Learning how to add templates to an application – the standard html / template package.

02:57

Learning how to cache templates in a web application in order to optimize performance.

03:40

Catching runtime errors. Using the panic and recover functions to keep the application stable.

Section 8: Building a Web Image Manipulation Program (WIMP), Part II – Image Processing
03:04

Learning how to process images. Implementing the color inversion algorithm.

03:04

Learning how to load images into web applications.

02:41

Learning how to process images. Using the temporary memory storage.

04:48

Learning how to improve the design and why we must do it.

02:14

Analyzing the video course results and what the viewer should have learned.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Packt Publishing, Tech Knowledge in Motion

Over the past ten years Packt Publishing has developed an extensive catalogue of over 2000 books, e-books and video courses aimed at keeping IT professionals ahead of the technology curve. From new takes on established technologies through to the latest guides on emerging platforms, topics and trends – Packt's focus has always been on giving our customers the working knowledge they need to get the job done. Our Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.

Ready to start learning?
Take This Course