all: Format code with gofumpt
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 2 Dec 2020 12:23:25 +0000 (13:23 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 3 Dec 2020 12:12:58 +0000 (13:12 +0100)
commitd90e37e0c6e812f9913bf256c9c81aa05b7a08aa
tree7b1b14464eefec1188ca2eed53c64e4823453cc9
parent32471b57bde51c55a15dbf1db75d6e5f7232c347
all: Format code with gofumpt

See https://github.com/mvdan/gofumpt
442 files changed:
cache/filecache/filecache.go
cache/filecache/filecache_config_test.go
cache/filecache/filecache_pruner.go
cache/filecache/filecache_pruner_test.go
cache/filecache/filecache_test.go
cache/namedmemcache/named_cache.go
codegen/methods.go
codegen/methods_test.go
commands/check.go
commands/check_darwin.go
commands/commandeer.go
commands/commands.go
commands/commands_test.go
commands/convert.go
commands/env.go
commands/genautocomplete.go
commands/genchromastyles.go
commands/gendocshelper.go
commands/hugo.go
commands/hugo_test.go
commands/import_jekyll.go
commands/import_jekyll_test.go
commands/list.go
commands/mod.go
commands/mod_npm.go
commands/new.go
commands/new_site.go
commands/new_theme.go
commands/nodeploy.go
commands/release.go
commands/server.go
commands/server_test.go
commands/static_syncer.go
common/collections/append.go
common/collections/append_test.go
common/collections/slice_test.go
common/herrors/error_locator_test.go
common/herrors/file_error.go
common/herrors/file_error_test.go
common/hreflect/helpers.go
common/hugo/hugo_test.go
common/hugo/version.go
common/loggers/ignorableLogger.go
common/loggers/loggers.go
common/loggers/loggers_test.go
common/maps/maps_test.go
common/maps/params.go
common/maps/params_test.go
common/maps/scratch.go
common/maps/scratch_test.go
common/para/para_test.go
common/text/position.go
common/text/position_test.go
common/text/transform_test.go
common/types/convert_test.go
compare/compare_strings_test.go
config/commonConfig.go
config/commonConfig_test.go
config/configLoader.go
config/privacy/privacyConfig_test.go
config/services/servicesConfig_test.go
create/content.go
create/content_template_handler.go
create/content_test.go
deploy/deploy.go
deploy/deployConfig.go
deploy/deploy_test.go
deps/deps.go
deps/deps_test.go
helpers/content.go
helpers/content_test.go
helpers/docshelper.go
helpers/emoji.go
helpers/emoji_test.go
helpers/general.go
helpers/general_test.go
helpers/path.go
helpers/path_test.go
helpers/pathspec.go
helpers/pathspec_test.go
helpers/processing_stats.go
helpers/testhelpers_test.go
helpers/url.go
helpers/url_test.go
htesting/test_helpers.go
hugofs/decorators.go
hugofs/fileinfo.go
hugofs/files/classifier.go
hugofs/files/classifier_test.go
hugofs/filter_fs.go
hugofs/filter_fs_test.go
hugofs/fs.go
hugofs/fs_test.go
hugofs/glob.go
hugofs/glob/glob.go
hugofs/glob/glob_test.go
hugofs/glob_test.go
hugofs/hashing_fs.go
hugofs/hashing_fs_test.go
hugofs/nosymlink_fs.go
hugofs/nosymlink_test.go
hugofs/rootmapping_fs.go
hugofs/rootmapping_fs_test.go
hugofs/slice_fs.go
hugofs/walk.go
hugofs/walk_test.go
hugolib/404_test.go
hugolib/alias.go
hugolib/alias_test.go
hugolib/breaking_changes_test.go
hugolib/cascade_test.go
hugolib/case_insensitive_test.go
hugolib/config.go
hugolib/config_test.go
hugolib/configdir_test.go
hugolib/content_map.go
hugolib/content_map_page.go
hugolib/content_map_test.go
hugolib/content_render_hooks_test.go
hugolib/datafiles_test.go
hugolib/disableKinds_test.go
hugolib/embedded_shortcodes_test.go
hugolib/embedded_templates_test.go
hugolib/fileInfo.go
hugolib/filesystems/basefs.go
hugolib/filesystems/basefs_test.go
hugolib/gitinfo.go
hugolib/hugo_modules_test.go
hugolib/hugo_sites.go
hugolib/hugo_sites_build.go
hugolib/hugo_sites_build_errors_test.go
hugolib/hugo_sites_build_test.go
hugolib/hugo_sites_multihost_test.go
hugolib/hugo_sites_rebuild_test.go
hugolib/hugo_smoke_test.go
hugolib/image_test.go
hugolib/js_test.go
hugolib/language_content_dir_test.go
hugolib/language_test.go
hugolib/menu_test.go
hugolib/multilingual.go
hugolib/openapi_test.go
hugolib/page.go
hugolib/page__content.go
hugolib/page__data.go
hugolib/page__menus.go
hugolib/page__meta.go
hugolib/page__new.go
hugolib/page__output.go
hugolib/page__paginator.go
hugolib/page__paths.go
hugolib/page__per_output.go
hugolib/page__position.go
hugolib/page__ref.go
hugolib/page__tree.go
hugolib/page_kinds.go
hugolib/page_permalink_test.go
hugolib/page_test.go
hugolib/pagebundler_test.go
hugolib/pagecollections.go
hugolib/pagecollections_test.go
hugolib/pages_capture.go
hugolib/pages_capture_test.go
hugolib/pages_language_merge_test.go
hugolib/pages_process.go
hugolib/pages_test.go
hugolib/paginator_test.go
hugolib/paths/paths.go
hugolib/permalinker.go
hugolib/resource_chain_babel_test.go
hugolib/resource_chain_test.go
hugolib/robotstxt_test.go
hugolib/shortcode.go
hugolib/shortcode_test.go
hugolib/site.go
hugolib/siteJSONEncode_test.go
hugolib/site_benchmark_new_test.go
hugolib/site_output.go
hugolib/site_output_test.go
hugolib/site_render.go
hugolib/site_sections_test.go
hugolib/site_stats_test.go
hugolib/site_test.go
hugolib/site_url_test.go
hugolib/sitemap_test.go
hugolib/taxonomy_test.go
hugolib/template_test.go
hugolib/testhelpers_test.go
identity/identity.go
identity/identity_test.go
langs/config.go
langs/i18n/i18n.go
langs/i18n/i18n_test.go
langs/i18n/translationProvider.go
langs/language.go
lazy/init.go
lazy/init_test.go
lazy/once.go
livereload/livereload.go
magefile.go
main.go
markup/asciidocext/convert.go
markup/asciidocext/convert_test.go
markup/blackfriday/convert.go
markup/blackfriday/convert_test.go
markup/converter/converter.go
markup/goldmark/autoid.go
markup/goldmark/autoid_test.go
markup/goldmark/convert.go
markup/goldmark/convert_test.go
markup/goldmark/render_hooks.go
markup/goldmark/toc_test.go
markup/highlight/config.go
markup/highlight/config_test.go
markup/highlight/highlight_test.go
markup/internal/external.go
markup/markup.go
markup/markup_config/config.go
markup/markup_config/config_test.go
markup/markup_test.go
markup/mmark/convert.go
markup/mmark/convert_test.go
markup/pandoc/convert.go
markup/rst/convert.go
markup/tableofcontents/tableofcontents.go
markup/tableofcontents/tableofcontents_test.go
media/mediaType_test.go
metrics/metrics.go
metrics/metrics_test.go
minifiers/config_test.go
minifiers/minifiers_test.go
modules/client.go
modules/client_test.go
modules/collect.go
modules/collect_test.go
modules/config.go
modules/config_test.go
modules/npm/package_builder.go
navigation/menu.go
navigation/pagemenus.go
output/docshelper.go
output/layout_test.go
output/outputFormat.go
output/outputFormat_test.go
parser/lowercase_camel_json.go
parser/metadecoders/decoder.go
parser/metadecoders/decoder_test.go
parser/metadecoders/format.go
parser/pageparser/item_test.go
parser/pageparser/pagelexer.go
parser/pageparser/pagelexer_intro.go
parser/pageparser/pagelexer_shortcode.go
parser/pageparser/pagelexer_test.go
parser/pageparser/pageparser.go
parser/pageparser/pageparser_intro_test.go
parser/pageparser/pageparser_main_test.go
parser/pageparser/pageparser_shortcode_test.go
publisher/htmlElementsCollector.go
publisher/htmlElementsCollector_test.go
publisher/publisher.go
related/inverted_index.go
related/inverted_index_test.go
releaser/git.go
releaser/git_test.go
releaser/github.go
releaser/releasenotes_writer.go
releaser/releasenotes_writer_test.go
resources/image.go
resources/image_test.go
resources/images/color.go
resources/images/color_test.go
resources/images/config_test.go
resources/images/exif/exif.go
resources/images/exif/exif_test.go
resources/images/filters_test.go
resources/images/image.go
resources/images/smartcrop.go
resources/internal/key.go
resources/jsconfig/jsconfig.go
resources/page/page_data_test.go
resources/page/page_generate/generate_page_wrappers.go
resources/page/page_kinds_test.go
resources/page/page_marshaljson.autogen.go
resources/page/page_matcher.go
resources/page/page_matcher_test.go
resources/page/page_nop.go
resources/page/page_paths.go
resources/page/page_paths_test.go
resources/page/page_wrappers.autogen.go
resources/page/pagegroup.go
resources/page/pagegroup_test.go
resources/page/pagemeta/page_frontmatter.go
resources/page/pagemeta/page_frontmatter_test.go
resources/page/pagemeta/pagemeta_test.go
resources/page/pages_cache.go
resources/page/pages_language_merge.go
resources/page/pages_prev_next.go
resources/page/pages_prev_next_test.go
resources/page/pages_related.go
resources/page/pages_sort.go
resources/page/pages_sort_search.go
resources/page/pages_sort_search_test.go
resources/page/pages_sort_test.go
resources/page/pages_test.go
resources/page/pagination.go
resources/page/pagination_test.go
resources/page/permalinks.go
resources/page/permalinks_test.go
resources/page/testhelpers_test.go
resources/page/weighted.go
resources/page/zero_file.autogen.go
resources/postpub/fields.go
resources/postpub/fields_test.go
resources/postpub/postpub.go
resources/resource.go
resources/resource/params.go
resources/resource_cache.go
resources/resource_factories/bundler/bundler.go
resources/resource_factories/bundler/bundler_test.go
resources/resource_factories/create/create.go
resources/resource_metadata.go
resources/resource_metadata_test.go
resources/resource_spec.go
resources/resource_test.go
resources/resource_transformers/babel/babel.go
resources/resource_transformers/integrity/integrity.go
resources/resource_transformers/integrity/integrity_test.go
resources/resource_transformers/js/options.go
resources/resource_transformers/js/options_test.go
resources/resource_transformers/minifier/minify.go
resources/resource_transformers/minifier/minify_test.go
resources/resource_transformers/postcss/postcss.go
resources/resource_transformers/postcss/postcss_test.go
resources/resource_transformers/tocss/scss/client_test.go
resources/resource_transformers/tocss/scss/tocss.go
resources/testhelpers_test.go
resources/transform.go
resources/transform_test.go
scripts/fork_go_templates/main.go
source/fileInfo.go
source/fileInfo_test.go
source/filesystem.go
source/filesystem_test.go
source/sourceSpec.go
tpl/cast/cast_test.go
tpl/cast/docshelper.go
tpl/cast/init.go
tpl/cast/init_test.go
tpl/collections/append.go
tpl/collections/append_test.go
tpl/collections/apply.go
tpl/collections/apply_test.go
tpl/collections/collections.go
tpl/collections/collections_test.go
tpl/collections/complement_test.go
tpl/collections/index_test.go
tpl/collections/merge_test.go
tpl/collections/reflect_helpers.go
tpl/collections/sort_test.go
tpl/collections/symdiff.go
tpl/collections/symdiff_test.go
tpl/collections/where_test.go
tpl/compare/compare_test.go
tpl/compare/init.go
tpl/crypto/init.go
tpl/data/data.go
tpl/data/data_test.go
tpl/data/resources.go
tpl/data/resources_test.go
tpl/fmt/fmt.go
tpl/hugo/init.go
tpl/images/init.go
tpl/inflect/init.go
tpl/internal/go_templates/fmtsort/sort_test.go
tpl/internal/go_templates/htmltemplate/content_test.go
tpl/internal/go_templates/htmltemplate/css.go
tpl/internal/go_templates/htmltemplate/escape_test.go
tpl/internal/go_templates/htmltemplate/example_test.go
tpl/internal/go_templates/htmltemplate/js.go
tpl/internal/go_templates/htmltemplate/js_test.go
tpl/internal/go_templates/htmltemplate/transition.go
tpl/internal/go_templates/htmltemplate/transition_test.go
tpl/internal/go_templates/testenv/testenv.go
tpl/internal/go_templates/testenv/testenv_windows.go
tpl/internal/go_templates/texttemplate/example_test.go
tpl/internal/go_templates/texttemplate/exec.go
tpl/internal/go_templates/texttemplate/exec_test.go
tpl/internal/go_templates/texttemplate/hugo_template.go
tpl/internal/go_templates/texttemplate/hugo_template_test.go
tpl/internal/go_templates/texttemplate/multi_test.go
tpl/internal/go_templates/texttemplate/parse/node.go
tpl/internal/go_templates/texttemplate/parse/parse.go
tpl/internal/go_templates/texttemplate/parse/parse_test.go
tpl/internal/go_templates/texttemplate/template.go
tpl/internal/templatefuncsRegistry.go
tpl/js/js.go
tpl/lang/init.go
tpl/math/init.go
tpl/math/math.go
tpl/math/math_test.go
tpl/openapi/openapi3/init.go
tpl/openapi/openapi3/openapi3.go
tpl/os/init.go
tpl/os/os.go
tpl/partials/init.go
tpl/partials/partials.go
tpl/partials/partials_test.go
tpl/path/init.go
tpl/resources/init.go
tpl/resources/resources.go
tpl/safe/init.go
tpl/safe/safe_test.go
tpl/site/init.go
tpl/strings/truncate.go
tpl/strings/truncate_test.go
tpl/template.go
tpl/templates/init.go
tpl/templates/templates.go
tpl/time/init.go
tpl/tplimpl/embedded/generate/generate.go
tpl/tplimpl/shortcodes.go
tpl/tplimpl/shortcodes_test.go
tpl/tplimpl/template.go
tpl/tplimpl/template_ast_transformers.go
tpl/tplimpl/template_ast_transformers_test.go
tpl/tplimpl/template_funcs.go
tpl/tplimpl/template_funcs_test.go
tpl/tplimpl/template_info_test.go
tpl/transform/init.go
tpl/transform/remarshal_test.go
tpl/transform/transform.go
tpl/transform/transform_test.go
tpl/transform/unmarshal.go
tpl/transform/unmarshal_test.go
tpl/urls/init.go
tpl/urls/urls.go
transform/livereloadinject/livereloadinject.go
transform/livereloadinject/livereloadinject_test.go
transform/metainject/hugogenerator.go
transform/metainject/hugogenerator_test.go
transform/urlreplacers/absurlreplacer.go
transform/urlreplacers/absurlreplacer_test.go