mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 06:36:43 +08:00
fix typo
This commit is contained in:
@@ -119,7 +119,7 @@ if serr, ok := err.(*json.SyntaxError); ok {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
包也可以用额外的方法(methods)定义特定的错误,比如 net.Errot:
|
包也可以用额外的方法(methods)定义特定的错误,比如 net.Error:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
package net
|
package net
|
||||||
|
Reference in New Issue
Block a user