diff options
author | luzpaz <luzpaz@users.noreply.github.com> | 2022-01-10 04:32:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 17:32:37 +0800 |
commit | 8c647bf0f6b19fe666c645ec16010d07bfe85a63 (patch) | |
tree | eaa322e1244591b00a36b7d79ce416bd1bd932af /modules/structs | |
parent | 242dddfcb7cfab1d21c1658828d94f603809a5c7 (diff) | |
download | gitea-8c647bf0f6b19fe666c645ec16010d07bfe85a63.tar.gz gitea-8c647bf0f6b19fe666c645ec16010d07bfe85a63.zip |
Fix various typos (#18219)
Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby,te,unknwon`
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'modules/structs')
-rw-r--r-- | modules/structs/org.go | 2 | ||||
-rw-r--r-- | modules/structs/repo.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/structs/org.go b/modules/structs/org.go index 4ae0ca8b6f..d8bd59e1ec 100644 --- a/modules/structs/org.go +++ b/modules/structs/org.go @@ -17,7 +17,7 @@ type Organization struct { RepoAdminChangeTeamAccess bool `json:"repo_admin_change_team_access"` } -// OrganizationPermissions list differents users permissions on an organization +// OrganizationPermissions list different users permissions on an organization type OrganizationPermissions struct { IsOwner bool `json:"is_owner"` IsAdmin bool `json:"is_admin"` diff --git a/modules/structs/repo.go b/modules/structs/repo.go index 38d80db704..852af1f891 100644 --- a/modules/structs/repo.go +++ b/modules/structs/repo.go @@ -110,7 +110,7 @@ type CreateRepoOption struct { Private bool `json:"private"` // Label-Set to use IssueLabels string `json:"issue_labels"` - // Whether the repository should be auto-intialized? + // Whether the repository should be auto-initialized? AutoInit bool `json:"auto_init"` // Whether the repository is template Template bool `json:"template"` |