1
0
mirror of https://github.com/fumiama/gozel.git synced 2026-06-13 05:02:20 +08:00

feat(gen): finish core/common

This commit is contained in:
源文雨
2026-03-20 22:13:08 +08:00
parent a56666c826
commit 750ec25796
5 changed files with 155 additions and 47 deletions

View File

@@ -59,7 +59,8 @@ func get1sentence(firstln string, scan *bufio.Scanner, ln int) (string, int) {
ln++
if strings.Contains(t, "{") {
bracedepth++
} else if strings.Contains(t, "}") {
}
if strings.Contains(t, "}") {
bracedepth--
}
sb.WriteString(t)