mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-24 02:48:31 +00:00
Fix various typos in codebase (#35480)
This commit is contained in:
@@ -61,7 +61,7 @@ type User struct {
|
||||
|
||||
// MarshalJSON implements the json.Marshaler interface for User, adding field(s) for backward compatibility
|
||||
func (u User) MarshalJSON() ([]byte, error) {
|
||||
// Re-declaring User to avoid recursion
|
||||
// Redeclaring User to avoid recursion
|
||||
type shadow User
|
||||
return json.Marshal(struct {
|
||||
shadow
|
||||
|
Reference in New Issue
Block a user