mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 02:35:53 +08:00
fix source code use ascii double quotes .
This commit is contained in:
@@ -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
|
||||
|
@@ -1,10 +1,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
“fmt”
|
||||
"fmt"
|
||||
)
|
||||
|
||||
const c = “C”
|
||||
const c = "C"
|
||||
|
||||
var v int = 5
|
||||
|
||||
|
Reference in New Issue
Block a user