mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 03:06:41 +08:00
@@ -9,6 +9,6 @@ func main() {
|
|||||||
var test1 string
|
var test1 string
|
||||||
test1 = pack1.ReturnStr()
|
test1 = pack1.ReturnStr()
|
||||||
fmt.Printf("ReturnStr from package1: %s\n", test1)
|
fmt.Printf("ReturnStr from package1: %s\n", test1)
|
||||||
fmt.Printf(“Integer from package1: %d\n”, pack1.Pack1Int)
|
fmt.Printf("Integer from package1: %d\n", pack1.Pack1Int)
|
||||||
// fmt.Printf(“Float from package1: %f\n”, pack1.pack1Float)
|
// fmt.Printf(“Float from package1: %f\n”, pack1.pack1Float)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user