From 32aeab262e4c450353012a8b7f9997642c32faab Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Thu, 28 Mar 2024 10:49:29 +0800 Subject: [PATCH] Correct the typo --- docs/contrib/go-code.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contrib/go-code.md b/docs/contrib/go-code.md index 38c876d7d..851838a98 100644 --- a/docs/contrib/go-code.md +++ b/docs/contrib/go-code.md @@ -541,9 +541,9 @@ var LintGonicMapper = GonicMapper{ - If the variable type is bool, the name should start with Has, Is, Can or Allow, for example: ```go -var has Conflict bool +var hasConflict bool var isExist bool -var can Manage bool +var canManage bool var allowGitHook bool ```