mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2024-11-05 05:53:45 +00:00
fix typo
This commit is contained in:
parent
bb71ca05f5
commit
c321e2c31b
@ -104,7 +104,7 @@ func Lookup(key string) string {
|
||||
}
|
||||
```
|
||||
|
||||
下面这个版本在功能上是一致的,但将两个包级吧的变量放在了cache这个struct一组内:
|
||||
下面这个版本在功能上是一致的,但将两个包级别的变量放在了cache这个struct一组内:
|
||||
|
||||
```go
|
||||
var cache = struct {
|
||||
|
Loading…
Reference in New Issue
Block a user