Information Technology
Hands on Training icon
Hands On Training
Hands on Training icon

Managing Dependencies in Go

Course Cover
compare button icon

Course Features

icon

Duration

27 minutes

icon

Delivery Method

Online

icon

Available on

Limited Access

icon

Accessibility

Desktop, Laptop

icon

Language

English

icon

Subtitles

English

icon

Level

Intermediate

icon

Teaching Type

Self Paced

icon

Video Content

27 minutes

Course Description

Nearly all modern software projects rely on third-party dependencies for their work. The vast majority of software projects rely on third-party dependencies for everything, from version control systems to simple string manipulation to complex data storage and manipulation. These packages are often open-source.

Dependencies in Go are called "packages" and "modules". Modules are the modern unit for package distribution, while packages are the smallest unit in grouped Go code. Both packages and modules share a URL naming scheme. This scheme is similar to the Java naming scheme used for Jars, but it is distinct. There are many ways to fetch packages and modules in the modern Go ecosystem and include them into your project. This section will explain what packages and modules are and how to find them. Next, we'll discuss advanced topics such as managing private code, storing dependencies locally (instead of in a hosted environment), and improving build speed and determinism.

Learn how to get started using packages and modules, how to manage both dependency types, how to convert an existing project into modules, and how you can manage your dependencies throughout the duration of your project.

* The Go dependency management system has changed significantly over the course of the history of the language. Modules are however the standard and are part of the official Go CLI tooling. Modules are highly recommended if you're starting a project. If you're currently using another technology to manage dependencies, I recommend looking into whether modules can be used. This section covers both of these scenarios.

Course Overview

projects-img

International Faculty

projects-img

Post Course Interactions

projects-img

Hands-On Training,Instructor-Moderated Discussions

projects-img

Case Studies, Captstone Projects

Skills You Will Gain

What You Will Learn

You'll learn how to get started with packages and modules, several methods to manage either dependency type, convert your existing project to modules, and how to manage your dependencies for the duration of your project, no matter how long

Course Cover