Sign in
go
/
website
/
53bf622d51462e7bba9e8b8d7bea9440b5b2a0df
/
.
/
_content
/
tour
/
basics
/
multiple-results.go
blob: 1b86fd7d0721af509eb9afdf3fe9f5c72bbd30f7 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import "fmt"
func swap(x, y string) (string, string) {
return y, x
}
func main() {
a, b := swap("hello", "world")
fmt.Println(a, b)
}