golang/go

x/tools/go/analysis/passes/modernize: minmax: suggest deletion of redundant min and max functions

クローズ

#75,589 opened on 2025/09/24

 (13 件のコメント) (1 件のリアクション) (0 人の担当者)Go (19,008 件のフォーク)batch import
NeedsInvestigationRefactoringToolshelp wanted

Repository metrics

Stars
 (133,883 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Proposal Details

I proposal to add a checker to check whether user has impl a max/min instead of builtin max/min. And suggest user to replace with builtin max/min. search

language:go "func min"

in github with get about 142k result in code.

コントリビューターガイド