Sign in
go
/
website
/
97c56edbf39ac4976aad3862fbd48c2aaa989a9a
/
.
/
_content
/
tour
/
basics
/
multiple-results.go
blob: 61f4a19c971aeec72ce550af065ee53557ac5ff7 [
file
] [
log
] [
blame
]
//go: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)
}