Beginner Solutions in Go – The Basics, Clients, and Servers [Video]

Beginner Solutions in Go – The Basics, Clients, and Servers [Video]

Aaron Torres

Build foundation for your applications with the basic understanding of Go
Mapt Subscription
FREE
€29.98/m after trial
Video
€121.38
RRP €142.78
Save 14%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
€0.00
€121.38
€29.98p/m after trial
RRP €142.78
Subscription
Video
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Video Details

ISBN 139781788629089
Course Length2 hours and 22 minutes

Video Description

Go (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 course 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 course covers basic type and error handling. It explores applications that interact with users, such as command-line tools or via the file system.

Style and Approach

This video course is a handy reference for developers to quickly look up Go development patterns. It is a companion to other resources and a reference that will be useful long after viewing it for the first time. Each video includes working, simple and tested code that can be used as a reference or foundation for your own applications.

Table of Contents

I/O and File Systems
The Course Overview
Using the Common I/O Interfaces
Using the Bytes and Strings Packages
Working with Directories and Files
Working with the CSV format
Working with Temporary Files
Working with Text/Template and HTML/Templates
Command-Line Tools
Using Command-Line Flags
Using Command-Line Arguments
Reading and Setting Environment Variables
Configuration Using TOML, YAML, and JSON
Working with Unix Pipes
Catching and Handling Signals
An ANSI Coloring Application
Data Conversion and Composition
Converting Data Types and Interface Casting
Working with Numeric Data Types using math and math/big
Currency Conversions and float64 considerations
Using Pointers and SQL NullTypes for Encoding and Decoding
Encoding and Decoding Go Data
Struct Tags and Basic Reflection in Go
Implementing Collections Via Closures
Error Handling in Go
Handling Errors and the Error Interface
Using the pkg/errors Package and Wrapping Errors
Using the log Package and Understanding When to Log Errors
Structured Logging with the apex and logrus Packages
Logging with the context Package
Using Package-Level Global Variables
Catching Panics for Long Running Processes
All about Databases and Storage
The database/sql Package with MySQL
Executing a Database Transaction Interface
Connection Pooling, Rate Limiting, and Timeouts for SQL
Working with Redis
Using NoSQL with MongoDB and mgo
Creating Storage Interfaces for Data Portability
Web Clients and APIs
Initializing, Storing, and Passing http.Client structs
Writing a Client for a REST API
Executing Parallel and Async Client Requests
Making Use of OAuth2 Clients
Implementing an OAuth2 Token Storage Interface
Wrapping a Client in Added Functionality and Function Composition
Understanding GRPC Clients
Microservices for Applications in Go
Working with Web Handlers, Requests, and ResponseWriters
Using Structs and Closures for Stateful Handlers
Validating Input for Go structs and User Inputs
Rendering and Content Negotiation
Implementing and Using Middleware
Building a Reverse Proxy Application
Exporting GRPC as a JSON API

What You Will Learn

  • Explore working with filesystems
  • Process common datatypes such as TOML, YAML, and JSON
  • Learn encoding strategies and some functional design patterns for Go
  • Explore strategies to handle errors in Go
  • Deal with various storage libraries for accessing data storage systems such as MySQL
  • Implement Go HTTP client interfaces, REST clients, OAuth2 clients
  • Explore web handlers, validation of user input, and middleware

Authors

Table of Contents

I/O and File Systems
The Course Overview
Using the Common I/O Interfaces
Using the Bytes and Strings Packages
Working with Directories and Files
Working with the CSV format
Working with Temporary Files
Working with Text/Template and HTML/Templates
Command-Line Tools
Using Command-Line Flags
Using Command-Line Arguments
Reading and Setting Environment Variables
Configuration Using TOML, YAML, and JSON
Working with Unix Pipes
Catching and Handling Signals
An ANSI Coloring Application
Data Conversion and Composition
Converting Data Types and Interface Casting
Working with Numeric Data Types using math and math/big
Currency Conversions and float64 considerations
Using Pointers and SQL NullTypes for Encoding and Decoding
Encoding and Decoding Go Data
Struct Tags and Basic Reflection in Go
Implementing Collections Via Closures
Error Handling in Go
Handling Errors and the Error Interface
Using the pkg/errors Package and Wrapping Errors
Using the log Package and Understanding When to Log Errors
Structured Logging with the apex and logrus Packages
Logging with the context Package
Using Package-Level Global Variables
Catching Panics for Long Running Processes
All about Databases and Storage
The database/sql Package with MySQL
Executing a Database Transaction Interface
Connection Pooling, Rate Limiting, and Timeouts for SQL
Working with Redis
Using NoSQL with MongoDB and mgo
Creating Storage Interfaces for Data Portability
Web Clients and APIs
Initializing, Storing, and Passing http.Client structs
Writing a Client for a REST API
Executing Parallel and Async Client Requests
Making Use of OAuth2 Clients
Implementing an OAuth2 Token Storage Interface
Wrapping a Client in Added Functionality and Function Composition
Understanding GRPC Clients
Microservices for Applications in Go
Working with Web Handlers, Requests, and ResponseWriters
Using Structs and Closures for Stateful Handlers
Validating Input for Go structs and User Inputs
Rendering and Content Negotiation
Implementing and Using Middleware
Building a Reverse Proxy Application
Exporting GRPC as a JSON API

Video Details

ISBN 139781788629089
Course Length2 hours and 22 minutes
Read More

Read More Reviews

Recommended for You

Advanced Solutions in Go – Testing and Distributed Systems [Video] Book Cover
Advanced Solutions in Go – Testing and Distributed Systems [Video]
€ 142.78
€ 121.38
Get Going with Basic AWS Resources - AWS Beginner [Video] Book Cover
Get Going with Basic AWS Resources - AWS Beginner [Video]
€ 142.78
€ 121.38
Basic Data Structures and Algorithms in Java 9 [Video] Book Cover
Basic Data Structures and Algorithms in Java 9 [Video]
€ 142.78
€ 121.38
Building an Unreal RTS Game: The Basics [Video] Book Cover
Building an Unreal RTS Game: The Basics [Video]
€ 142.78
€ 121.38
Cisco Voice Solutions for Small and Medium-Sized Enterprises SME – CUCME [Video] Book Cover
Cisco Voice Solutions for Small and Medium-Sized Enterprises SME – CUCME [Video]
€ 142.78
€ 121.38
R Data Visualization - Basic Plots, Maps, and Pie Charts [Video] Book Cover
R Data Visualization - Basic Plots, Maps, and Pie Charts [Video]
€ 142.78
€ 121.38