diff options
Diffstat (limited to 'modules/config.go')
-rw-r--r-- | modules/config.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/config.go b/modules/config.go index ac9eadd37..4b39636cd 100644 --- a/modules/config.go +++ b/modules/config.go @@ -295,6 +295,12 @@ type Config struct { NoProxy string // Configures GOPRIVATE. Private string + + // Set the workspace file to use, e.g. hugo.work. + // Enables Go "Workspace" mode. + // Requires Go 1.18+ + // See https://tip.golang.org/doc/go1.18 + Workspace string } // hasModuleImport reports whether the project config have one or more |