Sign in
go
/
website
/
ac99473d6b53fbf59756fc1464e285493549254c
/
.
/
_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)
}