Merge remote-tracking branch 'origin/3.6.1-code-conventions' into 3.6.1-code-conventions

pull/2148/head
withchao 2 years ago
commit 1ad81117e7

@ -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: - If the variable type is bool, the name should start with Has, Is, Can or Allow, for example:
```go ```go
var has Conflict bool var hasConflict bool
var isExist bool var isExist bool
var can Manage bool var canManage bool
var allowGitHook bool var allowGitHook bool
``` ```

Loading…
Cancel
Save