Skip to main content

Instructor-led training

Go Language Essentials Training in Converse, Texas

Go is an open source project developed by a team at Google and many contributors from the open source community.

What you'll learn

Go is an open source project developed by a team at Google and many contributors from the open source community. It combines the ease of programming of an interpreted, dynamically typed language with the efficiency and safety of a statically typed, compiled language. If you are leveraging Go to create applications on the job or on your own, attending this course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language. The materials and presentation focus on teaching students how to write clear and robust code to create real-world solutions. Innovative lab exercises and code samples are provided to reinforce skills and quickly master the topics. This course includes a four hour optional project that creates a real-world application by utilizing key features of Go learned during the class. Students will create an application that will model an online, interactive exam. The application will be developed in a series of steps. Each step will include features that follow the progression of skills and features learned in the class. 

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Converse, Texas or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

Students attending this class should have at least 6 months experience programming in a language such as Java, C / C++, C#. Experience programming in a scripting language such as JavaScript or Python is also sufficient. No prior experience with Go is assumed or required.

Course Outline

Module 1 : The Go Programming Language

Module 2: Getting Started

Module 3: Working with Basic Types

Module 4: Arrays, Slices, and Maps

Module 5:Working with Structs

Module 6: Functions

Module 7: Error Handling

Module 8: Methods

Module 9: Interfaces

Module 10: File I/O and Networking

Module 11: Goroutines 

What makes Go hard to learn when the syntax looks easy

Go's syntax is small, and developers from Java, C, C# or Python usually read it within hours. The difficulty is that Go leaves out features those languages use to structure programs, so the habits have to change. The syllabus builds up in a deliberate order.

  • Foundations (Modules 1-3). The language's design goals, getting a first program running, and the basic types. A statically typed, compiled language that reads almost like a scripting language invites sloppy assumptions about typing and conversions.
  • Data structures (Modules 4-5). Arrays, slices, maps and structs. Arrays and slices look alike but behave differently. A slice is a view onto underlying storage, so two slices can share data you thought was separate. Learn this before writing anything non-trivial.
  • Functions and errors (Modules 6-7). Error handling is a separate module because Go treats errors as ordinary values you check, not exceptions you catch. Developers coming from exception-based languages often find this the biggest change in style.
  • Methods and interfaces (Modules 8-9). Go attaches behavior to types through methods and uses interfaces to abstract over them. If you expect class hierarchies, this is where you must rethink how code is organized.
  • I/O, networking and goroutines (Modules 10-11). File I/O and networking show the earlier material in practical programs. Goroutines then introduce concurrent execution, where mistakes are timing-dependent and hard to reproduce.

Each layer relies on the previous one. Interfaces make little sense without methods, and methods little sense without structs. Concurrency code tends to be wrong if slices, maps and error values are not already solid.

Who this course suits and what to take alongside it

This is an introductory, four-day course. It assumes at least six months of programming in a language such as Java, C, C++ or C#. Experience in a scripting language such as JavaScript or Python is also sufficient. No prior Go experience is required. It suits individual developers who need to become productive in Go, and managers assembling a team that should share one vocabulary and style.

The course ends with an optional four-hour project in which students build an application that models an online, interactive exam. It is built in steps that follow the order of the class.

Developers whose background is only in scripting languages may want a grounding in a statically typed language first. C# and .NET Essentials, Rev. 8.0 teaches typed, compiled programming in the C# language and is a useful comparison for teams that work in both ecosystems. You can also browse the .NET courses and learning guide.

Organizations that want the class aligned to their own Go toolchain or codebase can ask about customized private training through a training proposal request.

Illustrative scenarios

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

  • A command-line utility for operations work. A team might write a tool that reads log or configuration files, parses records into structs, and reports problems. This draws on structs, slices and maps, error handling, and file I/O. Because each failure is an explicit value, the tool can report which file and which step failed.
  • A small network service. A developer might build a service that accepts requests over the network and handles many clients at once. This uses the networking module, interfaces to keep handler logic separate from transport, and goroutines for concurrency.
  • A shared internal library. A team might define interfaces for storage or notification so that callers do not depend on a concrete implementation. Methods on structs implement the behavior, and a different implementation can be substituted in other contexts.

Using AI coding assistants with Go

AI coding assistants are useful for Go boilerplate: struct definitions, repetitive error-checking code, small file-reading routines and first drafts of interface implementations. Go's small language and consistent style make such output easy to read.

They tend to fail in the places the syllabus treats as hard:

  • Slices and maps. Generated code may append to or modify a slice that shares storage with another, or use a map in ways that are unsafe when several goroutines touch it.
  • Error handling. Assistants sometimes ignore a returned error, discard it, or add handling that hides the original cause.
  • Goroutines. Concurrent code that looks right can still contain data races, goroutines that never finish, or output that depends on timing.
  • Interfaces. Generated interfaces are often larger than needed, which defeats their purpose, and may be written in a style carried over from other languages.

To verify, compile and run the code, read every error path by hand, and run it repeatedly under concurrent load. Go's standard tooling, including its formatter, static checker and race detector, can catch some of these problems. A developer who understands the material in this course is better placed to review generated code than to accept it unread.

Frequently asked questions

What level is Go Language Essentials?

It is introductory. It is aimed at working programmers who are new to Go, not at people new to programming.

What do I need to know beforehand?

At least six months of programming in a language such as Java, C, C++ or C#. Experience with a scripting language such as JavaScript or Python is also sufficient. No Go experience is assumed.

What does the course cover?

The language and getting started, basic types, arrays, slices and maps, structs, functions, error handling, methods, interfaces, file I/O and networking, and goroutines. An optional four-hour project builds an online exam application in stages.

Can this be delivered privately for our team, onsite or online?

Yes. HSG delivers private training for organizations either onsite at the client's location or live online.

Can the content be customized?

Private courses can be tailored to the technology versions and needs of an organization. To discuss this, send a training proposal request.

Training locations

Go Language Essentials training across the U.S. and beyond.

We provide private Go Language Essentials training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Go Language Essentials training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.