mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 16:58:37 +00:00
format with gofumpt (#18184)
* gofumpt -w -l . * gofumpt -w -l -extra . * Add linter * manual fix * change make fmt
This commit is contained in:
@@ -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/"
|
||||
|
Reference in New Issue
Block a user