就是简单的输出一些字符串,用以学习Go的package和实际的path的关系
package main import ( "fmt" "HelloWorld/heelo" ) func main() { p() } func p() { fmt.Println("Hello", "HelloTat") heelo.Hehe() }
package heelo import "fmt" func Hehe() { fmt.Println("this is Hello2") }
就是简单的输出一些字符串,用以学习Go的package和实际的path的关系
package main import ( "fmt" "HelloWorld/heelo" ) func main() { p() } func p() { fmt.Println("Hello", "HelloTat") heelo.Hehe() }
package heelo import "fmt" func Hehe() { fmt.Println("this is Hello2") }