Building Applications in Go

2 Ratings

Course Number: GO-114
Duration: 4 days (26 hours)
Format: Live, hands-on

Golang Training Overview

This Building Applications in Go training course teaches how to develop applications using the Golang programming language. Attendees learn how to use Go's standard library to overcome common programming challenges, build RESTful services, create a Go web application Docker image, and more.

Location and Pricing

This course is taught as a private, live online class for teams of 3 or more. All our courses are hands-on, instructor-led, and tailored to fit your group’s goals and needs. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for online corporate training, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Understand Golang’s language constructs and unique features
  • Write and call functions for proper code reuse
  • Use the standard library to solve common problems
  • Create concurrent applications in Go
  • Construct RESTful services
  • Build and deploy Docker containers for Go applications

Prerequisites

All attendees must be familiar with any modern programming language.

Outline

Expand All | Collapse All

Introduction
  • Overview of the Go language
  • Comparison with other languages
  • Unique features of Go
Building Blocks
  • Packages
  • Identifiers, variables, and constants
  • Operators
  • Data types
  • Control flow constructs
  • Pointers
Functions in Go
  • Go functions
  • Function parameters
  • Higher order functions
  • Error handling
  • Returning results
  • Deferring function calls
Error Handling
  • Errors as values
  • Handling errors
  • Creating custom errors
  • Panic and recovery
Composite Types
  • Array type
  • Slice type
  • Map type
  • Struct type
OO in Go
  • Objects in Go
  • Go methods
  • Inheritance using type embedding
  • Type aliasing
Abstractions in Go
  • Interfaces in Go
  • Empty interfaces @ any
  • Type assertion
Modularity
  • Modules
  • Using 3rd party modules
  • Packages and nested packages
  • Dependency injection using “wire”
Concurrency
  • Goroutines
  • Channels
  • Passing data in and out of channels
  • Handling race conditions
  • Parallelism in Go
  • Sync package
  • Using context
  • Implementing worker pool
IO in Go
  • Readers and writers
  • Exploring the io package
  • Working with files
  • Buffered IO
  • Encoding and decoding data
Database Programming
  • Creating a database connection
  • Making database query
  • Adding, deleting, and updating records with Golang
JSON and XML Binding with Golang
  • Serializing and deserializing JSON
  • Serializing and deserializing XML
Web Programming
  • HTTP package
  • Building a web server
  • Using Gorilla Mux Router
  • Handling requests and responses
  • Serving static files
  • Server JSON responses
  • Cross-cutting concerns using middleware
  • Structured logging
Testing
  • Organizing test code
  • Performing assertions
  • Detecting unreachable code
  • Mocking dependencies using GoMock
Go and Docker
  • Building a Go Docker image
  • Running the Docker container
  • Building a Go web application docker image
Conclusion

Training Materials

All Golang training students receive comprehensive courseware.

Software Requirements

  • The latest distribution of Go for your operating system (Windows, Mac, or Linux)
  • A Go-compatible IDE such as JetBrains GoLand
  • Related lab files that Accelebrate provides


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan