Sign in
android
/
platform
/
prebuilts
/
go
/
windows-x86
/
refs/heads/studio-1.4-release
/
.
/
misc
/
tour
/
content
/
moretypes
/
function-values.go
blob: 76429574198e138884b43d4a9cd267895e70d238 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import (
"fmt"
"math"
)
func main() {
hypot := func(x, y float64) float64 {
return math.Sqrt(x*x + y*y)
}
fmt.Println(hypot(3, 4))
}