mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 03:55:28 +08:00
update book code
This commit is contained in:
8
eBook/examples/chapter_9/book/pack1/pack1.go
Normal file
8
eBook/examples/chapter_9/book/pack1/pack1.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package pack1
|
||||
|
||||
var Pack1Int int = 42
|
||||
var pack1Float = 3.14
|
||||
|
||||
func ReturnStr() string {
|
||||
return "Hello main!"
|
||||
}
|
Reference in New Issue
Block a user