Return 0 when there is no error (Golang)
Former-commit-id: e7c4248761e085dd763c7d2fb93e3b364d46cc1f [formerly 59e9b4ed8b656dc61119e7c758fb47ee30c36ad6] [formerly 4e5e9413d14ec8ee0a3a2abbee7f607b15910315 [formerly b214fdd0eb]]
Former-commit-id: 1dc992ecd0b0169e66f854083554ae825ffa3ddf [formerly 65f85346c9875abcaaa0fa97fa8689ebea774f37]
Former-commit-id: aac3de2cf26430814b9db7073b42f5791ff2a566
This commit is contained in:
1 parent
0f7c341086
commit
c3c6c8f3d6
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