Skip to content

Commit

Permalink
代码换行 (unknwon#387)
Browse files Browse the repository at this point in the history
* 修复小问题

* Update 11.12.md

修复代码没有换行的问题
  • Loading branch information
magichan authored and unknwon committed Jul 24, 2017
1 parent 1348945 commit 85cb8e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eBook/11.12.md
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
```

大部分代码并不使用这样的约束,因为它限制了接口的实用性。
Expand Down

0 comments on commit 85cb8e6

Please sign in to comment.