mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 19:47:07 +09:00
Update go-org to optimize code (#8824)
This commit is contained in:
1 parent
2f4ef84cbf
commit
05e7715c4b
19 files changed
+4824
-113
No files matched your search
+1
-1
@@ -90,7 +90,7 @@ func New() *Configuration {
|
||||
}
|
||||
|
||||
// String returns the pretty printed Org mode string for the given nodes (see OrgWriter).
|
||||
func String(nodes []Node) string { return orgWriter.nodesAsString(nodes...) }
|
||||
func String(nodes []Node) string { return orgWriter.WriteNodesAsString(nodes...) }
|
||||
|
||||
// Write is called after with an instance of the Writer interface to export a parsed Document into another format.
|
||||
func (d *Document) Write(w Writer) (out string, err error) {
|
||||
|
||||
Reference in new issue
Block a user