Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
package main import ("fmt") func myFunction(x int, y string) (result int, txt1 string) { result = x + x txt1 = y + " World!" return } func main() { fmt.Println(myFunction(5, "Hello")) }
10 Hello World!