Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/devel/zh-CN/conversions/error_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
### 第一级公共错误码

| 错误码 | 错误描述 | 错误类型 |
| ---- | ---- |
| ------ | -------- | -------- |
| InternalError | 内部错误 | 1 |
| InvalidParameter | 参数错误(包括参数类型、格式、值等错误) | 0 |
| AuthFailure | 认证 / 授权错误 | 0 |
Expand Down
2 changes: 1 addition & 1 deletion docs/devel/zh-CN/conversions/go_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ regexp.MustCompile(`\.`)

```go
// bad
if len(slice) = 0 {
if len(slice) == 0 {
// normal code
}

Expand Down