From 85cb8e6f113dfc6d2b5797ea66f12ebd7e372b65 Mon Sep 17 00:00:00 2001 From: magichan Date: Tue, 25 Jul 2017 06:44:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8D=A2=E8=A1=8C=20(#387)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修复小问题 * Update 11.12.md 修复代码没有换行的问题 --- eBook/11.12.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eBook/11.12.md b/eBook/11.12.md index 5d70160..0bfa8e7 100644 --- a/eBook/11.12.md +++ b/eBook/11.12.md @@ -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() {} ``` 大部分代码并不使用这样的约束,因为它限制了接口的实用性。