mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 20:59:31 +01:00
d2163df6a0
* 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 <dev.lh@web.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> |
||
---|---|---|
.. | ||
admin.go | ||
admin_auth_ldap.go | ||
admin_auth_ldap_test.go | ||
cert.go | ||
cmd.go | ||
convert.go | ||
docs.go | ||
doctor.go | ||
dump.go | ||
dump_repo.go | ||
embedded.go | ||
embedded_stub.go | ||
generate.go | ||
hook.go | ||
hook_test.go | ||
keys.go | ||
mailer.go | ||
manager.go | ||
migrate.go | ||
migrate_storage.go | ||
restore_repo.go | ||
serv.go | ||
web.go | ||
web_graceful.go | ||
web_letsencrypt.go |