PHP functions in Go language