all: Format code with gofumpt

See https://github.com/mvdan/gofumpt
This commit is contained in:
Bjørn Erik Pedersen
2020-12-02 13:23:25 +01:00
parent 32471b57bd
commit d90e37e0c6
442 changed files with 1426 additions and 2254 deletions

View File

@@ -51,7 +51,6 @@ func (p provider) New(cfg converter.ProviderConfig) (converter.Provider, error)
cfg: cfg,
}, nil
}), nil
}
type mmarkConverter struct {
@@ -74,7 +73,6 @@ func getHTMLRenderer(
ctx converter.DocumentContext,
cfg blackfriday_config.Config,
pcfg converter.ProviderConfig) mmark.Renderer {
var (
flags int
documentID string
@@ -99,7 +97,6 @@ func getHTMLRenderer(
Config: pcfg,
Renderer: mmark.HtmlRendererWithParameters(htmlFlags, "", "", renderParameters),
}
}
func getMmarkExtensions(cfg blackfriday_config.Config) int {

View File

@@ -29,7 +29,7 @@ import (
func TestGetMmarkExtensions(t *testing.T) {
b := blackfriday_config.Default
//TODO: This is doing the same just with different marks...
// TODO: This is doing the same just with different marks...
type data struct {
testFlag int
}