Go Language Essentials


Course Number: GO-108

Duration: 4 days (26 hours)

Format: Live, hands-on

Golang Training Overview

Learn the Go Prommaging Language! This live, online or in-person Go training course teaches attendees how to program in Golang to immediately be more productive and get your team on the same page, speaking the same language. Students learn how to write clear, robust, and practical code for real-world solutions.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. 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 private corporate training on-site or online, please contact us.

Objectives

  • Understand the basic structural elements of a Go program
  • Use the basic types, aggregate types, reference types, and interfaces
  • Apply error-handling strategies
  • Compose types and implement encapsulation
  • Create a method (receiver function) on a struct
  • Understand how and when to use pointers
  • Use the interface type to enforce a contract
  • Understand how and when to use anonymous functions
  • Send and receive data using channels
  • Apply concurrency and synchronization techniques
  • And much more!

Prerequisites

All students should have at least 6 months of experience programming in a language such as Java, C / C++, or C#. Experience with programming in a scripting language such as JavaScript or Python is also sufficient.

Outline

Expand All | Collapse All

Introduction to Go
  • Learn the features and origins of Go
  • Install and configure Go on your OS
  • Choose an IDE
  • Review Go Packages
Getting Started
  • Learn the basic components of the Go language
  • Examine several common programming tasks
  • Utilize the built-in library
  • Examine keywords and names
  • Learn to declare variables and constants
  • Review variable lifetime and scope
  • Define and use pointers
Working with Basic Data Types
  • Examine and work with numbers, strings, and bools
  • Understand the importance of UTF-8 in Go
  • Use standard packages to manipulate strings
  • Use the constant generator
Arrays, Slices, and Maps
  • Use and understand the relationship of arrays and slices
  • Extend slices using the built-In append function
  • Learn slicing techniques
  • Create hash tables using the map data type
Structs
  • Create user defined data types using struct
  • Use struct literal syntax
  • Learn the rules of comparing structs
  • Learn the mechanism of struct embedding
  • Learn how and when to use anonymous fields
Functions
  • Declare and call a function
  • Return multiple values from a function
  • Define a variadic function
  • Create a recursive function
  • Define and use function objects
  • Define and use anonymous functions
  • When and how to use deferred functions
Error Handling
  • Error-handling strategies
  • Dealing with errors: panic and recover
Methods
  • Review object-oriented programming
  • Use structs to build software models
  • Use methods with a pointer receiver
  • Data hiding and encapsulation
Interfaces
  • Create and use interfaces to enforce a contract
  • Understand interface satisfaction
  • Interface type assertions and switches
I/O and networking
  • Work with common file operations
  • JSON serialization and marshalling
  • Http client and server implementations
  • Build a simple http server
  • REST: Post and retrieve JSON
Goroutines and Concurrency
  • The need for concurrency
  • Overview of Goroutines and Channels
  • Use buffered and unbuffered channels
  • Use select to wait on multiple channels
  • Use a mutex to guard access to a critical section
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