Create main.go

This commit is contained in:
Ruan Bekker 2019-04-18 14:41:38 +02:00 committed by GitHub
parent 68cfb2e85f
commit 6ea554dd4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
main.go Normal file
View file

@ -0,0 +1,12 @@
package main
import "fmt"
func main() {
fmt.Println(HelloWorld())
}
// HelloWorld is a function that returns a string containing "hello world"
func HelloWorld() string {
return "hello, world"
}