Return 0 when there is no error (Golang)

This commit is contained in:
Henrique Dias committed 2017-06-28 19:06:08 +01:00
1 parent 8a1a160197
commit b214fdd0eb
8 files changed
+108 -135

No files matched your search

+5 -5
View File
@@ -13,14 +13,14 @@ import (
// editor contains the information to fill the editor template.
type editor struct {
Class string
Mode string
Visual bool
Content string
Class string `json:"class"`
Mode string `json:"mode"`
Visual bool `json:"visual"`
Content string `json:"content"`
FrontMatter struct {
Content *frontmatter.Content
Rune rune
}
} `json:"frontmatter"`
}
// getEditor gets the editor based on a Info struct