mirror of
https://github.com/tiger1103/gfast.git
synced 2026-10-12 08:24:51 +00:00
代码生成细节处理
This commit is contained in:
@@ -665,11 +665,11 @@ func (s *toolsGenTable) writeDb(path string, ctx context.Context) (err error) {
|
||||
if e == io.EOF {
|
||||
break
|
||||
}
|
||||
if gstr.Trim(string(bytes)) == "" {
|
||||
str := gstr.Trim(string(bytes))
|
||||
|
||||
if str == "" {
|
||||
continue
|
||||
}
|
||||
bytes = bytes[:len(bytes)-2]
|
||||
str := string(bytes)
|
||||
|
||||
if strings.Contains(str, "/*") {
|
||||
isAnnotation = true
|
||||
|
||||
Reference in New Issue
Block a user