hugo/modules
Bjørn Erik Pedersen 0fc2ce9e4b
Update to Go 1.17
Go 1.17 now lazy-loads dependencies when `go.mod` is version `go17`. This does not work for us for new projects started with `hugo mod init`.

Before this commit, starting a project with Go 1.17 with `hugo mod init` and then start adding dependencies with transitive dependenies to `config.toml` would treat the transitive dependencies as new, and you would potentially get a too recent version of those.

Note that this does not effect existing projects, where all dependencies are already recorded in `go.mod`.

Fixes #8930
2021-08-31 11:19:51 +02:00
..
npm hugofs: Make FileMeta a struct 2021-07-15 17:14:26 +02:00
client.go Update to Go 1.17 2021-08-31 11:19:51 +02:00
client_test.go modules: Add config option modules.vendorClosest 2021-02-16 16:30:01 +01:00
collect.go Update to Go 1.17 2021-08-31 11:19:51 +02:00
collect_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
config.go modules: Add module.import.noMounts config 2021-06-28 10:39:52 +02:00
config_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
module.go modules: Use value type for module.Time 2021-06-27 18:06:52 +02:00