Building Your First Application with Go [Video]

Building Your First Application with Go [Video]

Starting
Rostyslav Dzinko

Get practical experience and learn basic skills while developing an application with Go
$10.00
RRP $84.99
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Video Details

ISBN 139781783283811
Course Length2 hours 47 minutes

About This Video

  • Learn the features and various aspects of Go programming
  • Create a production-ready web application by the end of the course
  • Master time-proven design patterns for creating highly reusable application components

Who This Video Is For

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. This course assumes that you have some basic knowledge of computer science.

Table of Contents

First Application
Bootstrapping Your Workspace
"Hello, world!"
Mastering the "go" Tool
First Useful Application
Commenting the Code
Basic and Complex Data Types
Variables and Constants
Playing with Numbers and Strings
Pointers and Values
Slices and Arrays
Two-dimensional Slices
Maps
Control Structures
"if-else" – Understand Your Code to Make Decisions
"switch" – Decisions Are Made Even Simpler
"for" – Mastering Cycles
Processing Errors
The "comma-ok" Notation
Structuring Code with Functions and Packages
Functions
Anonymous Functions
Packages
Package Initialization
Deferred Execution
Object-oriented Programming in Go
Structures
Behavior
Interfaces
Universal Interface
Goroutines and Channels
Goroutines Lifecycle and Parallel Execution
Channels
Buffered Channels
The "FanIn" Pattern
The "FanOut" Pattern
Building a Web Image Manipulation Program (WIMP), Part I – Web Application
Running a Web Server in Go
URL Multiplexer and Query String Parameters
Adding Templates
Caching Templates
Errors, Panic, and Recover
Building a Web Image Manipulation Program (WIMP), Part II – Image Processing
Hooking Up an Image – Encoding and Decoding
Color Inversion
Image Rotation
Improving the Design
Conclusion

What You Will Learn

  • 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 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

In Detail

The Go language is a new programming language for creating concurrent applications, high-load and high-responsive software services, and complex systems. The language supports totally re-thought concepts and paradigms of software development, unlike other programming languages.

"Building Your First Application with 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 Go language! Go is a language with no legacy, well suited for software developers, be it for beginners or experienced users.

The 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 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.

Style and Approach

Packt video courses are designed to cover the breadth of the topic in short, hands-on, task-based videos. Each course is divided into short manageable sections, so you can watch the whole thing or jump to the bit you need. The focus is on practical instructions and screencasts showing you how to get the job done.

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.

Authors

Screenshots

Table of Contents

First Application
Bootstrapping Your Workspace
"Hello, world!"
Mastering the "go" Tool
First Useful Application
Commenting the Code
Basic and Complex Data Types
Variables and Constants
Playing with Numbers and Strings
Pointers and Values
Slices and Arrays
Two-dimensional Slices
Maps
Control Structures
"if-else" – Understand Your Code to Make Decisions
"switch" – Decisions Are Made Even Simpler
"for" – Mastering Cycles
Processing Errors
The "comma-ok" Notation
Structuring Code with Functions and Packages
Functions
Anonymous Functions
Packages
Package Initialization
Deferred Execution
Object-oriented Programming in Go
Structures
Behavior
Interfaces
Universal Interface
Goroutines and Channels
Goroutines Lifecycle and Parallel Execution
Channels
Buffered Channels
The "FanIn" Pattern
The "FanOut" Pattern
Building a Web Image Manipulation Program (WIMP), Part I – Web Application
Running a Web Server in Go
URL Multiplexer and Query String Parameters
Adding Templates
Caching Templates
Errors, Panic, and Recover
Building a Web Image Manipulation Program (WIMP), Part II – Image Processing
Hooking Up an Image – Encoding and Decoding
Color Inversion
Image Rotation
Improving the Design
Conclusion

Video Details

ISBN 139781783283811
Course Length2 hours 47 minutes
Read More

Recommended for You

Socket.IO Real-time Web Application Development
$ 10.00
iPad Enterprise Application Development BluePrints
$ 10.00