mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Run gopls modernize on codebase (#34751)
				
					
				
			Recent modernize fixes: https://github.com/golang/tools/commits/master/gopls/internal/analysis/modernize
This commit is contained in:
		| @@ -15,8 +15,8 @@ type PublicKey struct { | ||||
| 	Title       string `json:"title,omitempty"` | ||||
| 	Fingerprint string `json:"fingerprint,omitempty"` | ||||
| 	// swagger:strfmt date-time | ||||
| 	Created  time.Time `json:"created_at,omitempty"` | ||||
| 	Updated  time.Time `json:"last_used_at,omitempty"` | ||||
| 	Created  time.Time `json:"created_at"` | ||||
| 	Updated  time.Time `json:"last_used_at"` | ||||
| 	Owner    *User     `json:"user,omitempty"` | ||||
| 	ReadOnly bool      `json:"read_only,omitempty"` | ||||
| 	KeyType  string    `json:"key_type,omitempty"` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user