glebarez/sqlite

invalid operation: limit.Limit > 0 (mismatched types *int and untyped int)

bambuo opened this issue · 1 comments

`
C:\Users\xxx\go\pkg\mod\gorm.io\driver\sqlite@v1.3.6\sqlite.go:100:22: invalid operation: limit.Limit > 0 (mismatched types *int and untyped int)

C:\Users\xxx\go\pkg\mod\gorm.io\driver\sqlite@v1.3.6\sqlite.go:101:24: invalid operation: limit.Limit <= 0 (mismatched types *int and untyped int)

C:\Users\xxx\go\pkg\mod\gorm.io\driver\sqlite@v1.3.6\sqlite.go:102:21: cannot use -1 (untyped int constant) as *int value in assignment

C:\Users\xxx\go\pkg\mod\gorm.io\driver\sqlite@v1.3.6\sqlite.go:105:39: cannot use limit.Limit (variable of type *int) as int value in argument to strconv.Itoa
`

Hello, I have a similar problem. How did you solve it?