Although it is called a function you do not have to return a value.
So the following code is valid.
go run main.go
Gives
Hello
package main
import "fmt"
func main() {
say("Hello")
}
func say(msg string) {
fmt.Println(msg)
}
See the full source on github.