diff --git a/eBook/04.2.md b/eBook/04.2.md index 33f653b..10ca102 100644 --- a/eBook/04.2.md +++ b/eBook/04.2.md @@ -49,8 +49,8 @@ Go 中的包模型采用了显式依赖关系的机制来达到快速编译的 如果需要多个包,它们可以被分别导入: - import “fmt” - import “os” + import "fmt" + import "os" 或: @@ -247,9 +247,9 @@ Example 4.4 [gotemplate.go](examples/chapter_4/gotemplate.go) package main import ( - “fmt” + "fmt" ) - const c = “C” + const c = "C" var v int = 5 type T struct{} func init() { // initialization of package diff --git a/eBook/examples/chapter_4/gotemplate.go b/eBook/examples/chapter_4/gotemplate.go index d087c69..b51a2e0 100644 --- a/eBook/examples/chapter_4/gotemplate.go +++ b/eBook/examples/chapter_4/gotemplate.go @@ -1,10 +1,10 @@ package main import ( - “fmt” + "fmt" ) -const c = “C” +const c = "C" var v int = 5