hugo/commands
Bjørn Erik Pedersen a3701e0931 Switch to go-toml v2
We have been using `go-toml` for language files only. This commit makes it the only TOML library.

It's spec compliant and very fast.

A benchark building a site with 200 pages with TOML front matter:

```bash
name                                  old time/op    new time/op    delta
SiteNew/Regular_TOML_front_matter-16    48.5ms ± 1%    47.1ms ± 1%  -2.85%  (p=0.029 n=4+4)

name                                  old alloc/op   new alloc/op   delta
SiteNew/Regular_TOML_front_matter-16    16.9MB ± 0%    16.7MB ± 0%  -1.56%  (p=0.029 n=4+4)

name                                  old allocs/op  new allocs/op  delta
SiteNew/Regular_TOML_front_matter-16      302k ± 0%      296k ± 0%  -2.20%  (p=0.029 n=4+4)
```

Note that the front matter unmarshaling is only a small part of building a site, so the above is very good.

Fixes #8801
2021-07-28 11:51:13 +02:00
..
check.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
check_darwin.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
commandeer.go commands: Fix panic on invalid config in "hugo mod get" and similar 2021-07-20 18:23:09 +02:00
commands.go commands: Move time notification to after any build errors 2021-07-05 10:38:54 +02:00
commands_test.go Switch to go-toml v2 2021-07-28 11:51:13 +02:00
config.go modules: Use value type for module.Time 2021-06-27 18:06:52 +02:00
convert.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
deploy.go
env.go Add complete dependency list in "hugo env -v" 2021-04-09 08:07:22 +02:00
gen.go
genautocomplete.go commands: Fix autocomplete docs 2021-02-20 14:08:51 +01:00
genchromastyles.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
gendoc.go commands: Remove all dates from gendoc 2021-05-01 12:03:56 +02:00
gendocshelper.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
genman.go
helpers.go
hugo.go hugofs: Make FileMeta a struct 2021-07-15 17:14:26 +02:00
hugo_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
hugo_windows.go
import_jekyll.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
import_jekyll_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
limit_darwin.go
limit_others.go
list.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
list_test.go
mod.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
mod_npm.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
new.go hugofs: Make FileMeta a struct 2021-07-15 17:14:26 +02:00
new_content_test.go
new_site.go Misc config loading fixes 2021-06-14 17:00:32 +02:00
new_theme.go Fix new theme command description 2021-03-14 18:47:23 +01:00
nodeploy.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
release.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
release_noop.go
server.go commands: Move time notification to after any build errors 2021-07-05 10:38:54 +02:00
server_errors.go
server_test.go Misc config loading fixes 2021-06-14 17:00:32 +02:00
static_syncer.go tpl/fmt: Add erroridf template func 2021-06-07 19:11:03 +02:00
version.go