mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-22 19:41:07 +00:00
chore: remove the goline formatting
This commit is contained in:
parent
ac39273432
commit
df22b6dd12
@ -54,10 +54,7 @@ func ToAPIProject(ctx context.Context, project *project_model.Project) *api.Proj
|
||||
return apiProject
|
||||
}
|
||||
|
||||
func ToAPIProjectList(
|
||||
ctx context.Context,
|
||||
projects []*project_model.Project,
|
||||
) ([]*api.Project, error) {
|
||||
func ToAPIProjectList(ctx context.Context, projects []*project_model.Project) ([]*api.Project, error) {
|
||||
result := make([]*api.Project, len(projects))
|
||||
for i := range projects {
|
||||
result[i] = ToAPIProject(ctx, projects[i])
|
||||
|
Loading…
Reference in New Issue
Block a user