You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/content/en/hugo-modules/configuration.md
+4
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ proxy = 'direct'
22
22
replacements = ''
23
23
vendorClosest = false
24
24
workspace = 'off'
25
+
auth = ''
25
26
{{< /code-toggle >}}
26
27
27
28
noProxy
@@ -36,6 +37,9 @@ private
36
37
proxy
37
38
: (`string`) Defines the proxy server to use to download remote modules. Default is `direct`, which means "git clone" and similar.
38
39
40
+
auth
41
+
: (`string`) {{< new-in 0.144.0 >}} Configures `GOAUTH` when running the Go command for module operations. This is a semicolon-separated list of authentication commands for go-import and HTTPS module mirror interactions. This is useful for private repositories. See `go help goauth` for more information.
42
+
39
43
vendorClosest
40
44
: (`bool`) When enabled, we will pick the vendored module closest to the module using it. The default behavior is to pick the first. Note that there can still be only one dependency of a given module path, so once it is in use it cannot be redefined. Default is `false`.
0 commit comments