vikunja-api/pkg/models
konrad f603b41d99 Better efficency for loading teams (#128)
Fix staticcheck

Better performance for getting teams on a namespace

Better performance for getting teams on a list

Fix lint

Fix swagger

Signed-off-by: kolaente <k@knt.li>

Make loading a single full team more efficent

Signed-off-by: kolaente <k@knt.li>

Make loading teams more efficent

Signed-off-by: kolaente <k@knt.li>

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/128
2020-01-27 17:28:17 +00:00
..
bulk_task.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
bulk_task_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
error.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
label.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
label_rights.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
label_task.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
label_task_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
label_task_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
label_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
link_sharing.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
link_sharing_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
list.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
list_rights.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
list_team.go Better efficency for loading teams (#128) 2020-01-27 17:28:17 +00:00
list_team_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
list_team_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
list_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
list_users.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
list_users_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
list_users_rights_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
list_users_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
main_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
message.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
models.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
namespace.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
namespace_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
namespace_team.go Better efficency for loading teams (#128) 2020-01-27 17:28:17 +00:00
namespace_team_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
namespace_team_rights_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
namespace_team_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
namespace_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
namespace_users.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
namespace_users_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
namespace_users_rights_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
namespace_users_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
task_assignees.go Better efficency for loading teams (#128) 2020-01-27 17:28:17 +00:00
task_assignees_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
task_attachment.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
task_attachment_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
task_attachment_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
task_collection.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
task_collection_sort.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
task_collection_sort_test.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
task_collection_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
task_relation.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
task_relation_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
task_relation_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
tasks.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
tasks_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
tasks_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
team_members.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
team_members_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
team_members_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
teams.go Better efficency for loading teams (#128) 2020-01-27 17:28:17 +00:00
teams_rights.go Update copyright year (#118) 2020-01-09 17:33:22 +00:00
teams_rights_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
teams_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
unit_tests.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
user_list.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
users_list_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00