mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 05:11:49 +08:00
@@ -63,7 +63,7 @@ Go 中的包模型采用了显式依赖关系的机制来达到快速编译的
|
|||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
(它甚至还可以更短:`import ("fmt", "os")` 但使用 gofmt 后将会被强制换行)
|
(它甚至还可以更短:`import ("fmt"; "os")` 但使用 gofmt 后将会被强制换行)
|
||||||
|
|
||||||
当你导入多个包时,导入的顺序会按照字母排序。
|
当你导入多个包时,导入的顺序会按照字母排序。
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user