Source file tour/flowcontrol/exercise-loops-and-functions.go
1 //go:build nobuild || OMIT 2 3 package main 4 5 import ( 6 "fmt" 7 ) 8 9 func Sqrt(x float64) float64 { 10 } 11 12 func main() { 13 fmt.Println(Sqrt(2)) 14 } 15
1 //go:build nobuild || OMIT 2 3 package main 4 5 import ( 6 "fmt" 7 ) 8 9 func Sqrt(x float64) float64 { 10 } 11 12 func main() { 13 fmt.Println(Sqrt(2)) 14 } 15