]> source.dussan.org Git - gitea.git/commit
Use Go 1.19 fmt for Gitea 1.17, sync emoji data (#21239)
authorwxiaoguang <wxiaoguang@gmail.com>
Thu, 22 Sep 2022 13:58:31 +0000 (21:58 +0800)
committerGitHub <noreply@github.com>
Thu, 22 Sep 2022 13:58:31 +0000 (21:58 +0800)
commit20c135cd468a5c7f84994787ffb8ee0db4d87da9
tree0c40a2848c4ae64c0ade79b0825c0bda4deee381
parent937ef6fa906cd6ea28e181cfa92bacf409a75f69
Use Go 1.19 fmt for Gitea 1.17, sync emoji data (#21239)

The images used by Gitea's drone pipeline were upgraded to Go 1.19.x
It causes the lint fails because Go 1.19 uses new code format.

This PR partially backport #20758 (including the emoji-data sync),
partially fix the format manually.
25 files changed:
Makefile
assets/emoji.json
build/generate-emoji.go
modules/avatar/identicon/block.go
modules/context/repo.go
modules/csv/csv_test.go
modules/emoji/emoji_data.go
modules/git/foreachref/parser.go
modules/git/signature_gogit.go
modules/git/signature_nogogit.go
modules/log/file.go
modules/log/smtp.go
modules/markup/mdstripper/mdstripper.go
modules/pprof/pprof.go
modules/repository/repo.go
modules/util/string.go
routers/api/v1/api.go
routers/api/v1/repo/git_ref.go
routers/api/v1/repo/issue_tracked_time.go
routers/api/v1/repo/repo.go
routers/api/v1/user/email.go
services/migrations/dump.go
services/migrations/gitea_downloader.go
services/migrations/gitlab.go
templates/swagger/v1_json.tmpl