mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 01:55:35 +08:00
update book code
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Printf("%s", runtime.Version())
|
||||
}
|
||||
// Output:
|
||||
// go1.0.3 or go 1.1
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Printf("%s", runtime.Version())
|
||||
}
|
||||
// Output:
|
||||
// go1.0.3 or go 1.1
|
||||
|
Reference in New Issue
Block a user