Skip to content

Commit

Permalink
fix: struct注释处理递归问题,如果递归中数据已处理则跳过
Browse files Browse the repository at this point in the history
  • Loading branch information
xurui committed Feb 21, 2024
1 parent 6699f97 commit 6632f05
Show file tree
Hide file tree
Showing 5 changed files with 1,526 additions and 257 deletions.
2 changes: 0 additions & 2 deletions define.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const (
thirdListCutSign = "," // 第三次切割数组标志
multiBorderSign = "|-" // 多行标志
multiBorderSignEnd = "-|" // 多行标志结束,不存在则在下一个可用标签前结束

structDeep = 10 // 多重结构体注释递归深度,防止出现链式调用
)

const (
Expand Down
Loading

0 comments on commit 6632f05

Please sign in to comment.