Fix print code lines

This commit is contained in:
Jinzhu 2020-04-03 07:15:30 +08:00
parent be537f29ec
commit 511bd66490
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ import (
"unicode"
)
var goSrcRegexp = regexp.MustCompile(`/gorm/.*.go`)
var goTestRegexp = regexp.MustCompile(`/gorm/.*test.*.go`)
var goSrcRegexp = regexp.MustCompile(`jinzhu/gorm(@.*)?/.*.go`)
var goTestRegexp = regexp.MustCompile(`jinzhu/gorm(@.*)?/.*test.go`)
func FileWithLineNum() string {
for i := 2; i < 15; i++ {