Return 0 when there is no error (Golang)
This commit is contained in:
8 files changed
+108
-135
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user