git@cosmocr.at/demo.git @ feature/multi-greet · summary refs log
feature/multi-greet / main.go /
main.go · 179 B · raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
// Command hello greets the world.
package main

import "fmt"

func main() {
	fmt.Println(greeting("world") + "!")
}

func greeting(who string) string {
	return "hello, " + who
}