format with gofumpt (#18184)
* gofumpt -w -l . * gofumpt -w -l -extra . * Add linter * manual fix * change make fmt
This commit is contained in:
parent
1d98d205f5
commit
54e9ee37a7
423 changed files with 1585 additions and 1758 deletions
|
@ -24,16 +24,14 @@ import (
|
|||
// (for example, the input is lexically correct and was parsed successfully).
|
||||
// -1 if the input must not be added to corpus even if gives new coverage and 0 otherwise.
|
||||
|
||||
var (
|
||||
renderContext = markup.RenderContext{
|
||||
Ctx: context.Background(),
|
||||
URLPrefix: "https://example.com/go-gitea/gitea",
|
||||
Metas: map[string]string{
|
||||
"user": "go-gitea",
|
||||
"repo": "gitea",
|
||||
},
|
||||
}
|
||||
)
|
||||
var renderContext = markup.RenderContext{
|
||||
Ctx: context.Background(),
|
||||
URLPrefix: "https://example.com/go-gitea/gitea",
|
||||
Metas: map[string]string{
|
||||
"user": "go-gitea",
|
||||
"repo": "gitea",
|
||||
},
|
||||
}
|
||||
|
||||
func FuzzMarkdownRenderRaw(data []byte) int {
|
||||
setting.AppURL = "http://localhost:3000/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue