Update to go-org 1.3.2 (#12728)
* Update to go-org 1.3.2 Fix #12727 Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix unit test Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
e80eda7d01
commit
9fdb4f887b
17 changed files with 10381 additions and 10049 deletions
9
vendor/github.com/niklasfasching/go-org/org/writer.go
generated
vendored
9
vendor/github.com/niklasfasching/go-org/org/writer.go
generated
vendored
|
@ -18,6 +18,8 @@ type Writer interface {
|
|||
WriteNodeWithName(NodeWithName)
|
||||
WriteHeadline(Headline)
|
||||
WriteBlock(Block)
|
||||
WriteResult(Result)
|
||||
WriteInlineBlock(InlineBlock)
|
||||
WriteExample(Example)
|
||||
WriteDrawer(Drawer)
|
||||
WritePropertyDrawer(PropertyDrawer)
|
||||
|
@ -34,6 +36,7 @@ type Writer interface {
|
|||
WriteExplicitLineBreak(ExplicitLineBreak)
|
||||
WriteLineBreak(LineBreak)
|
||||
WriteRegularLink(RegularLink)
|
||||
WriteMacro(Macro)
|
||||
WriteTimestamp(Timestamp)
|
||||
WriteFootnoteLink(FootnoteLink)
|
||||
WriteFootnoteDefinition(FootnoteDefinition)
|
||||
|
@ -57,6 +60,10 @@ func WriteNodes(w Writer, nodes ...Node) {
|
|||
w.WriteHeadline(n)
|
||||
case Block:
|
||||
w.WriteBlock(n)
|
||||
case Result:
|
||||
w.WriteResult(n)
|
||||
case InlineBlock:
|
||||
w.WriteInlineBlock(n)
|
||||
case Example:
|
||||
w.WriteExample(n)
|
||||
case Drawer:
|
||||
|
@ -89,6 +96,8 @@ func WriteNodes(w Writer, nodes ...Node) {
|
|||
w.WriteLineBreak(n)
|
||||
case RegularLink:
|
||||
w.WriteRegularLink(n)
|
||||
case Macro:
|
||||
w.WriteMacro(n)
|
||||
case Timestamp:
|
||||
w.WriteTimestamp(n)
|
||||
case FootnoteLink:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue