otto 12 months ago
parent
commit
94727f1b09
  1. 5
      core.go

5
core.go

@ -9,7 +9,7 @@ import (
const (
// Skip 递归获取文件次数
Skip int = 20
Skip int = 12
)
func File() []string {
@ -25,6 +25,9 @@ func File() []string {
if strings.Contains(file, "runtime") {
continue
}
if strings.Contains(file, "pkg/log") {
continue
}
ls := strings.Split(file, "/")
l := len(ls)
if l <= 3 {

Loading…
Cancel
Save