1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 18:17:19 +00:00

Update go-org to optimize code (#8824)

This commit is contained in:
Lauris BH
2019-11-05 10:39:03 +02:00
committed by Lunny Xiao
parent 2f4ef84cbf
commit 05e7715c4b
19 changed files with 4824 additions and 113 deletions

View File

@ -80,5 +80,5 @@ func trimIndentUpTo(max int) func(string) string {
}
}
func (n Example) String() string { return orgWriter.nodesAsString(n) }
func (n Block) String() string { return orgWriter.nodesAsString(n) }
func (n Example) String() string { return orgWriter.WriteNodesAsString(n) }
func (n Block) String() string { return orgWriter.WriteNodesAsString(n) }