mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	bump to use go 1.22 (#29119)
This commit is contained in:
		| @@ -296,17 +296,17 @@ func Milestones(ctx *context.Context) { | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	showRepoIds := make(container.Set[int64], len(showRepos)) | ||||
| 	showRepoIDs := make(container.Set[int64], len(showRepos)) | ||||
| 	for _, repo := range showRepos { | ||||
| 		if repo.ID > 0 { | ||||
| 			showRepoIds.Add(repo.ID) | ||||
| 			showRepoIDs.Add(repo.ID) | ||||
| 		} | ||||
| 	} | ||||
| 	if len(repoIDs) == 0 { | ||||
| 		repoIDs = showRepoIds.Values() | ||||
| 		repoIDs = showRepoIDs.Values() | ||||
| 	} | ||||
| 	repoIDs = slices.DeleteFunc(repoIDs, func(v int64) bool { | ||||
| 		return !showRepoIds.Contains(v) | ||||
| 		return !showRepoIDs.Contains(v) | ||||
| 	}) | ||||
|  | ||||
| 	var pagerCount int | ||||
|   | ||||
		Reference in New Issue
	
	Block a user