Introduction to Go Modules

golang modules package-manager

Introduction Go modules were introduced in Go 1.11 as an experimental feature, and were made the default in Go 1.13. They provide a way to manage dependencies in Go projects without relying on the GOPATH environment variable and the “vendor” directory. Before Go modules, Go developers typically managed dependencies using the GOPATH environment variable, which specified a directory where all the dependencies for all the Go projects on a machine were stored.


Bharghava Varun Ayada is a Staff Software Engineer at Walmart Labs, living in Bangalore, India. This blog is about software engineering, system design, distributed systems and DevOps.

Github / Twitter / LinkedIn / / Stackoverflow

Recommended Books
Designing Data-Intensive Applications / Staff Engineer / Building Microservices / Site Reliability Engineering

Get new posts by email