fix(revive): rename unused parameters to _ for lint compliance

This commit is contained in:
ryan
2026-06-09 13:46:15 +08:00
parent e06f76436e
commit c6eea8111d
24 changed files with 851 additions and 830 deletions
+2 -1
View File
@@ -17,10 +17,11 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// Package router 提供 HTTP 路由注册与服务启动
package router
import "github.com/gin-gonic/gin"
func registerFrontend(r *gin.Engine) {
func registerFrontend(_ *gin.Engine) {
// No-op when not embedding frontend
}