mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Go 1.19 format (#20758)
* 1.19 gofumpt Signed-off-by: jolheiser <john.olheiser@gmail.com> * Change CSV test Signed-off-by: jolheiser <john.olheiser@gmail.com> * Commit whitespace fixes from @zeripath Co-authored-by: zeripath <art27@cantab.net> * Update emoji Signed-off-by: jolheiser <john.olheiser@gmail.com> * bump swagger & fix generate-swagger Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
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,
 | 
			
		||||
 
 | 
			
		||||
@@ -48,6 +48,7 @@ func NewSMTPLogger() LoggerProvider {
 | 
			
		||||
 | 
			
		||||
// Init smtp writer with json config.
 | 
			
		||||
// config like:
 | 
			
		||||
//
 | 
			
		||||
//	{
 | 
			
		||||
//		"Username":"example@gmail.com",
 | 
			
		||||
//		"password:"password",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user