mirror of
https://github.com/go-gitea/gitea
synced 2025-08-17 15:08:27 +00:00
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.
This commit is contained in:
@@ -93,6 +93,7 @@ func NewFileLogger() LoggerProvider {
|
||||
|
||||
// Init file logger with json config.
|
||||
// config like:
|
||||
//
|
||||
// {
|
||||
// "filename":"log/gogs.log",
|
||||
// "maxsize":1<<30,
|
||||
|
Reference in New Issue
Block a user