1
0
Fork 0
forgejo/models
KN4CK3R d9ef43a712
Replace list.List with slices (#16311)
* Replaced list with slice.

* Fixed usage of pointer to temporary variable.

* Replaced LIFO list with slice.

* Lint

* Removed type check.

* Removed duplicated code.

* Lint

* Fixed merge.

Co-authored-by: 6543 <6543@obermui.de>
2021-08-09 14:08:51 -04:00
..
fixtures
migrations Add Version info to migrations.go (#16653) 2021-08-08 13:34:42 -04:00
access.go
access_test.go
action.go
action_list.go
action_test.go
admin.go
admin_test.go
attachment.go
attachment_test.go
avatar.go
avatar_test.go
branches.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
branches_test.go
commit.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
commit_status.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
commit_status_test.go
consistency.go
consistency_test.go
context.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
convert.go
error.go Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
error_oauth2.go
external_login_user.go
fixture_generation.go
fixture_test.go
gpg_key.go Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
gpg_key_add.go Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
gpg_key_commit_verification.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
gpg_key_common.go Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
gpg_key_import.go Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
gpg_key_test.go Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
gpg_key_verify.go Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
helper.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
helper_directory.go
helper_environment.go
index.go
index_test.go
issue.go Validate Issue Index before querying DB (#16406) 2021-07-12 16:22:27 -04:00
issue_assignees.go
issue_assignees_test.go
issue_comment.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
issue_comment_list.go
issue_comment_test.go
issue_dependency.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
issue_dependency_test.go
issue_label.go
issue_label_test.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
issue_list.go
issue_list_test.go
issue_lock.go
issue_milestone.go
issue_milestone_test.go
issue_reaction.go
issue_reaction_test.go
issue_stopwatch.go Fix session bugs (#16552) 2021-07-26 23:46:06 +03:00
issue_stopwatch_test.go
issue_test.go
issue_tracked_time.go
issue_tracked_time_test.go
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
issue_xref.go
issue_xref_test.go
lfs.go
lfs_lock.go
list_options.go
log.go
login_source.go Fix add authentication page (#16543) 2021-07-25 08:09:52 +01:00
main_test.go
migrate.go
models.go Separate open and closed issue in metrics (#16637) 2021-08-07 12:43:50 +03:00
models_test.go
notification.go
notification_test.go
oauth2.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
oauth2_application.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
oauth2_application_test.go
org.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
org_team.go
org_team_test.go
org_test.go
project.go
project_board.go
project_issue.go
project_test.go
protected_tag.go
protected_tag_test.go
pull.go Add agit flow support in gitea (#14295) 2021-07-28 17:42:56 +08:00
pull_list.go Add agit flow support in gitea (#14295) 2021-07-28 17:42:56 +08:00
pull_sign.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
pull_test.go Add agit flow support in gitea (#14295) 2021-07-28 17:42:56 +08:00
release.go
repo.go Fix session bugs (#16552) 2021-07-26 23:46:06 +03:00
repo_activity.go
repo_archiver.go Fix archive error when rename repo or user (#16399) 2021-07-13 14:16:31 +02:00
repo_avatar.go
repo_branch.go
repo_collaboration.go
repo_collaboration_test.go
repo_generate.go
repo_generate_test.go
repo_indexer.go
repo_issue.go
repo_language_stats.go
repo_list.go not show private user's repo in explore view (#16550) 2021-07-27 00:02:35 +02:00
repo_list_test.go
repo_mirror.go
repo_permission.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
repo_permission_test.go
repo_pushmirror.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
repo_pushmirror_test.go
repo_redirect.go
repo_redirect_test.go
repo_sign.go
repo_test.go
repo_transfer.go Retry rename on lock induced failures (#16435) 2021-07-15 11:46:07 -04:00
repo_transfer_test.go
repo_unit.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
repo_watch.go
repo_watch_test.go
review.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
review_test.go
session.go
sql_postgres_with_schema.go
ssh_key.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
ssh_key_authorized_keys.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
ssh_key_authorized_principals.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
ssh_key_deploy.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
ssh_key_fingerprint.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
ssh_key_parse.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
ssh_key_principals.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
ssh_key_test.go
star.go
star_test.go
store.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
task.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
test_fixtures.go
token.go
token_test.go
topic.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
topic_test.go
twofactor.go
u2f.go
u2f_test.go
unit.go
unit_tests.go
update.go
upload.go
user.go Replace list.List with slices (#16311) 2021-08-09 14:08:51 -04:00
user_avatar.go
user_follow.go
user_follow_test.go
user_heatmap.go
user_heatmap_test.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
user_mail.go Fix activation of primary email addresses (#16385) 2021-07-13 22:59:27 +02:00
user_mail_test.go
user_openid.go
user_openid_test.go
user_redirect.go
user_redirect_test.go
user_test.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
userlist.go
userlist_test.go
webhook.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
webhook_test.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
wiki.go
wiki_test.go