forked from mirror/gorm
Fix print code lines
This commit is contained in:
parent
be537f29ec
commit
511bd66490
|
@ -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++ {
|
||||
|
|
Loading…
Reference in New Issue