drone-with-go/main.go

13 lines
199 B
Go
Raw Permalink Normal View History

2016-01-29 23:23:00 +01:00
package main
import "fmt"
func main() {
fmt.Println(HelloWorld())
}
// HelloWorld is a function that returns a string containing "hello world".
func HelloWorld() string {
2020-02-27 19:20:27 +01:00
return "Hello world"
2016-01-29 23:23:00 +01:00
}