Add test
This commit is contained in:
parent
b985c2d4ba
commit
77e6cc55b7
3 changed files with 21 additions and 2 deletions
8
hello.go
8
hello.go
|
@ -2,6 +2,10 @@ package main
|
|||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello, world")
|
||||
func Hello() string {
|
||||
return "Hello, world"
|
||||
}
|
||||
|
||||
func main() {
|
||||
fmt.Println(Hello())
|
||||
}
|
||||
|
|
Reference in a new issue