api: rename createMarkdownRenderer
This commit is contained in:
parent
1f45c04aca
commit
94f0f68604
@ -8,7 +8,7 @@ func main() {
|
||||
exitIfError(smtpConfigure())
|
||||
exitIfError(smtpTemplatesLoad())
|
||||
exitIfError(oauthConfigure())
|
||||
exitIfError(createMarkdownRenderer())
|
||||
exitIfError(markdownRendererCreate())
|
||||
exitIfError(setupSigintCleanup())
|
||||
|
||||
exitIfError(serveRoutes())
|
||||
|
@ -9,7 +9,7 @@ var policy *bluemonday.Policy
|
||||
var renderer blackfriday.Renderer
|
||||
var extensions int
|
||||
|
||||
func createMarkdownRenderer() error {
|
||||
func markdownRendererCreate() error {
|
||||
policy = bluemonday.UGCPolicy()
|
||||
|
||||
extensions = 0
|
||||
|
@ -120,7 +120,7 @@ func setupTestEnv() error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := createMarkdownRenderer(); err != nil {
|
||||
if err := markdownRendererCreate(); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user