mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 11:52:10 +08:00
Merge remote-tracking branch 'origin/3.6.1-code-conventions' into 3.6.1-code-conventions
This commit is contained in:
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…
x
Reference in New Issue
Block a user