Commit Graph
2 Commits
Author SHA1 Message Date
Gusted d2163df6a0 Fix offBy1 errors (#17606)
* Fix offBy1 errors

- Partially resolves #17596
- Resolve errors from go-critic `offBy1: Index() can return -1; maybe
you wanted to do Index()+1`.

* Match golang spec

* Remove comments

* Update migrations.go

* Apply suggestions from code review

Co-authored-by: delvh <[email protected]>

Co-authored-by: wxiaoguang <[email protected]>
Co-authored-by: delvh <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
2021-11-14 10:11:49 +02:00
John Olheiser 172eca1cd3 Add docs command (#13429)
Signed-off-by: jolheiser <[email protected]>
2020-11-07 08:32:57 +08:00