代码换行 (#387)

* 修复小问题

* Update 11.12.md

修复代码没有换行的问题
This commit is contained in:
magichan
2017-07-25 06:44:37 +08:00
committed by 无闻
parent 1348945b29
commit 85cb8e6f11

View File

@@ -211,7 +211,8 @@ type Fooer interface {
```go
type Bar struct{}
func (b Bar) ImplementsFooer() {} func (b Bar) Foo() {}
func (b Bar) ImplementsFooer() {}
func (b Bar) Foo() {}
```
大部分代码并不使用这样的约束,因为它限制了接口的实用性。