// The module path and version of your module // Describes the path of the module and its version module github.com/lkumarjain/go-mod-example // The version of Go your module is using // Set the version of Go used when compiling the module. // The resulting directive does not affect build tags go 1.16 // Required dependencies // Specifies a dependency of a precise version that is required by the module require additional/dependency/v4 v4.7.3 require another/dependency v1.5.3 // Indirect dependencies are marked in the go.mod // with an //indirect comment adjacent to its listing require indirect/dependency/v3 v3.3.1 //indirect // Replacement dependencies // Replace one version of a dependency with another dependency replace buggy/dependency v1.3.6 => stable/dependency/v2 // Excluded dependencies // Omit a particular version of a dependency from use exclude outdated/dependency v3.4.1