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
check_darwin.go
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
deploy.go
env.go
gen.go
genautocomplete.go
genchromastyles.go
gendoc.go
gendocshelper.go
genman.go
helpers.go
hugo.go hugofs: Make FileMeta a struct 2021-07-15 17:14:26 +02:00
hugo_test.go
hugo_windows.go
import_jekyll.go
import_jekyll_test.go
limit_darwin.go
limit_others.go
list.go
list_test.go
mod.go
mod_npm.go
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
nodeploy.go
release.go
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
version.go