更改病句: 为什么...的原因

This commit is contained in:
Stephano George
2020-08-09 16:08:22 +08:00
parent b5f4255a92
commit b894bbac5f
2 changed files with 2 additions and 2 deletions

View File

@@ -41,6 +41,6 @@ type Rand struct{ /* ... */ }
func New(source Source) *Rand
```
这可能导致一些名字重复例如template.Template或rand.Rand这就是为什么这些种类的包名往往特别短的原因之一。
这可能导致一些名字重复例如template.Template或rand.Rand这就是这些种类的包名往往特别短的原因之一。
在另一个极端还有像net/http包那样含有非常多的名字和种类不多的数据类型因为它们都是要执行一个复杂的复合任务。尽管有将近二十种类型和更多的函数但是包中最重要的成员名字却是简单明了的Get、Post、Handle、Error、Client、Server等。